Sign in
llvm
/
llvm-archive
/
9ee4ded126524dc671b998a7c57f4d2433ee9d20
/
.
/
safecode
/
tools
/
clang
/
test
/
CodeGenObjC
/
2009-02-05-VolatileProp.m
blob: 1f696ac7c2d007da619e9f92db390e7733cf40b8 [
file
] [
log
] [
blame
]
// RUN: %clang -fexceptions -S -emit-llvm %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
]);
}