Sign in
llvm
/
llvm-project
/
clang
/
b27966d28c9bfe8897e72489c9c80b0adca2709a
/
.
/
test
/
CodeGenObjC
/
2009-02-05-VolatileProp.m
blob: 01aecfd9fe4d2444f5684eb5d38fd242b2218d16 [
file
] [
log
] [
blame
]
// RUN: %clang -fexceptions -S -emit-llvm %s -o /dev/null -pedantic-errors
// rdar://6551276
void
foo
(
const
unsigned
short
*);
void
bar
(
void
)
{
unsigned
short
*
s
[
3
];
int
i
;
@try
{
}
@catch
(
id anException
)
{
}
foo
(
2
+
s
[
i
]);
}