mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +00:00
testcase for rdar://6551276 and llvm-gcc r63873
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d8f9b6133
commit
ca940bb630
11
test/FrontendObjC/2009-02-05-VolatileProp.m
Normal file
11
test/FrontendObjC/2009-02-05-VolatileProp.m
Normal file
@ -0,0 +1,11 @@
|
||||
/* RUN: %llvmgcc -w -x objective-c -c %s -o /dev/null -pedantic-errors
|
||||
rdar://6551276 */
|
||||
|
||||
void foo(const unsigned short *);
|
||||
void bar() {
|
||||
unsigned short *s[3];
|
||||
int i;
|
||||
@try { } @catch (id anException) { }
|
||||
foo(2+s[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user