[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / CodeGenObjC / object-incr-decr-1.m
blob611ca05fab38454591cf8477d0ba58566a5f43a5
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o %t
3 @interface Foo 
5         double d1,d3,d4;
7 @end
9 Foo* foo(void)
11   Foo *f;
12   
13   // Both of these crash clang nicely
14   ++f;
15   --f;
16  f--;
17  f++;
18  return f;