aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/lookup.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/lookup.m')
-rw-r--r--test/Modules/lookup.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Modules/lookup.m b/test/Modules/lookup.m
index bdffd44b91..85f1dd95d7 100644
--- a/test/Modules/lookup.m
+++ b/test/Modules/lookup.m
@@ -6,8 +6,8 @@ void test(id x) {
[x method]; // expected-warning{{multiple methods named 'method' found}}
}
-// RUN: %clang_cc1 -emit-pch -x objective-c -o %t_lookup_left.h.pch %S/Inputs/lookup_left.h
-// RUN: %clang_cc1 -emit-pch -x objective-c -o %t_lookup_right.h.pch %S/Inputs/lookup_right.h
+// RUN: %clang_cc1 -emit-module -x objective-c -o %t_lookup_left.h.pch %S/Inputs/lookup_left.h
+// RUN: %clang_cc1 -emit-module -x objective-c -o %t_lookup_right.h.pch %S/Inputs/lookup_right.h
// RUN: %clang_cc1 -x objective-c -import-module %t_lookup_left.h.pch -import-module %t_lookup_right.h.pch -verify %s
// RUN: %clang_cc1 -ast-print -x objective-c -import-module %t_lookup_left.h.pch -import-module %t_lookup_right.h.pch %s | FileCheck -check-prefix=CHECK-PRINT %s