diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-15 16:31:19 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-15 16:31:19 +0000 |
| commit | a505eb93f43fb776fca5b1e021f93e9c05e7b53e (patch) | |
| tree | 5ac7cde31c4f9702279d2164f5266e11d3632b77 /test/CodeGenObjC | |
| parent | 98781354c33bdc945ab6ea8c410d36c664ce1f5e (diff) | |
Notes
Diffstat (limited to 'test/CodeGenObjC')
| -rw-r--r-- | test/CodeGenObjC/debug-info.m | 18 | ||||
| -rw-r--r-- | test/CodeGenObjC/objc2-strong-cast-2.m | 27 | ||||
| -rw-r--r-- | test/CodeGenObjC/predefined-expr-in-method.m | 17 |
3 files changed, 0 insertions, 62 deletions
diff --git a/test/CodeGenObjC/debug-info.m b/test/CodeGenObjC/debug-info.m deleted file mode 100644 index 9c461ba68fb4..000000000000 --- a/test/CodeGenObjC/debug-info.m +++ /dev/null @@ -1,18 +0,0 @@ -// RUN: clang-cc -triple i386-apple-darwin9 -g -emit-llvm -o %t %s && -// RUN: grep '@.str3 = internal constant \[8 x i8\] c"-\[A m0\]\\00"' %t && -// RUN: grep '@.str4 = internal constant \[9 x i8\] c"\\01-\[A m0\]\\00"' %t && -// RUN: grep '@llvm.dbg.subprogram = .* @.str3, .* @.str3, .* @.str4,' %t && -// RUN: grep '@llvm.dbg.composite.* = .* i32 15, i64 0, i64 8, .* i32 16' %t && -// RUN: true - - - - - - - - -@interface A @end -@implementation A // Line 15 --(void) m0 {} -@end diff --git a/test/CodeGenObjC/objc2-strong-cast-2.m b/test/CodeGenObjC/objc2-strong-cast-2.m deleted file mode 100644 index b617c9fee4ea..000000000000 --- a/test/CodeGenObjC/objc2-strong-cast-2.m +++ /dev/null @@ -1,27 +0,0 @@ -// RUN: clang-cc -triple x86_64-darwin-10 -fobjc-gc -emit-llvm -o %t %s && -// RUN: grep objc_assign_strongCast %t | count 4 && -// RUN: true - -@interface A -@end - -typedef struct s0 { - A *a[4]; -} T; - -T g0; - -void f0(id x) { - g0.a[0] = x; -} - -void f1(id x) { - ((T*) &g0)->a[0] = x; -} - -void f2(unsigned idx) -{ - id *keys; - keys[idx] = 0; -} - diff --git a/test/CodeGenObjC/predefined-expr-in-method.m b/test/CodeGenObjC/predefined-expr-in-method.m deleted file mode 100644 index 812ef97252dc..000000000000 --- a/test/CodeGenObjC/predefined-expr-in-method.m +++ /dev/null @@ -1,17 +0,0 @@ -// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s - -@interface A -@end -@implementation A -+(void) foo { - printf("__func__: %s\n", __func__); - printf("__FUNCTION__: %s\n", __FUNCTION__); - printf("__PRETTY_FUNCTION__: %s\n", __PRETTY_FUNCTION__); - return 0; -} -@end - -int main() { - [A foo]; - return 0; -} |
