diff options
author | Devang Patel <dpatel@apple.com> | 2009-02-17 22:48:18 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-02-17 22:48:18 +0000 |
commit | 2465a02814bbc83c8cea469681f402f6da2b0441 (patch) | |
tree | f8911bcdb480d48a0be53da9689883ca75cdb442 /test/FrontendObjC | |
parent | 66e12f46b6e22494ea7c8c43a5c4e155427aac90 (diff) | |
download | external_llvm-2465a02814bbc83c8cea469681f402f6da2b0441.zip external_llvm-2465a02814bbc83c8cea469681f402f6da2b0441.tar.gz external_llvm-2465a02814bbc83c8cea469681f402f6da2b0441.tar.bz2 |
And now, not so elegant, test case...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendObjC')
-rw-r--r-- | test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m b/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m new file mode 100644 index 0000000..0fab94d --- /dev/null +++ b/test/FrontendObjC/2009-02-17-RunTimeVer-dbg.m @@ -0,0 +1,13 @@ +// RUN: %llvmgcc -x objective-c -S %s -g --emit-llvm -o - | grep "dbg.compile_unit =" | grep "null, i32" +// Last parameter represent i32 runtime version id. The previous paramenter +// encodes command line flags when certain env. variables are set. In this +// example it is the only compile_unit parameter that is null. This test case +// tests existence of new additional compile_unit parameter to encode +// Objective-C runtime version number. + +@interface foo +@end +@implementation foo +@end + +void fn(foo *f) {} |