mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
testcase for rdar://6551276 and llvm-gcc r63873
llvm-svn: 63874
This commit is contained in:
parent
a74fb94d27
commit
e640a3d335
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…
x
Reference in New Issue
Block a user