llvm.org GIT mirror llvm / 0d90e5d
And now, not so elegant, test case... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64838 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 11 years ago
1 changed file(s) with 13 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN: %llvmgcc -x objective-c -S %s -g --emit-llvm -o - | grep "dbg.compile_unit =" | grep "null, i32"
1 // Last parameter represent i32 runtime version id. The previous paramenter
2 // encodes command line flags when certain env. variables are set. In this
3 // example it is the only compile_unit parameter that is null. This test case
4 // tests existence of new additional compile_unit parameter to encode
5 // Objective-C runtime version number.
6
7 @interface foo
8 @end
9 @implementation foo
10 @end
11
12 void fn(foo *f) {}