xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/object-incr-decr-1.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o %t
2
3@interface Foo
4{
5	double d1,d3,d4;
6}
7@end
8
9Foo* foo()
10{
11  Foo *f;
12
13  // Both of these crash clang nicely
14  ++f;
15  --f;
16 f--;
17 f++;
18 return f;
19}
20