summaryrefslogtreecommitdiff
path: root/test/PCH/objc_container.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/objc_container.m')
-rw-r--r--test/PCH/objc_container.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/PCH/objc_container.m b/test/PCH/objc_container.m
index 1e59054a2e54..07371caeaf71 100644
--- a/test/PCH/objc_container.m
+++ b/test/PCH/objc_container.m
@@ -4,8 +4,10 @@
// Test with pch.
// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_container.h
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
-// RUN: %clang -cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
-// RUN: %clang -cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
+// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
+// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
+
+// expected-no-diagnostics
// CHECK-PRINT: id oldObject = array[10];
// CHECK-PRINT: array[10] = oldObject;