aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-03 17:31:38 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-03 17:31:38 +0000
commit674949fe3fdd796fc643f0e7660cb973da1dd383 (patch)
treead4103da03461279bbb762aa6277d2166072798e /test
parentdea22cc576c8b3d27b96f5727aa8fd313f18199e (diff)
Don't attempt to merge a deserialized declaration with existing
declarations in the AST unless modules are enabled. This case doesn't come up with precompiled headers, and it isn't cheap. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Modules/redecl-merge.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Modules/redecl-merge.m b/test/Modules/redecl-merge.m
index 4ea982b50f..ab264d1c5b 100644
--- a/test/Modules/redecl-merge.m
+++ b/test/Modules/redecl-merge.m
@@ -1,6 +1,6 @@
// RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodule-cache-path %t -I %S/Inputs %s -verify
-// RUN: %clang_cc1 -x objective-c++ -fmodule-cache-path %t -I %S/Inputs %s -verify
+// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify
+// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify
@class C2;
@class C3;
@class C3;