- Hit debug info generation.
- Hit both ObjC runtimes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57088
91177308-0d34-0410-b5e6-
96231b3b80d8
--- /dev/null
+// RUN: clang -fgnu-runtime -emit-llvm -o %t %s &&
+// RUN: clang -g -fgnu-runtime -emit-llvm -o %t %s
+// XFAIL
+
+#include "objc-language-features.inc"
--- /dev/null
+// RUN: clang -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang -g -fnext-runtime -emit-llvm -o %t %s
+// XFAIL
+
+#include "objc-language-features.inc"
-// RUN: clang -emit-llvm -o %t %s
-// RUN: clang -emit-llvm-bc -o %t %s
+// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang -emit-llvm-bc -o %t %s &&
+// RUN: clang -g -emit-llvm-bc -o %t %s
#include "c-language-features.inc"
+++ /dev/null
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
-// RUN: clang -fnext-runtime -emit-llvm-bc -o %t %s
-// XFAIL
-
-#include "objc-language-features.inc"
@implementation C : A
@end
-#if 0
@interface A (Cat)
@end
@implementation A (Cat)
@end
-#endif
int f0(id x) {
@synchronized(x) {