diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-04-17 02:32:52 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-04-17 02:32:52 +0000 |
commit | 46d5a265d56111cdf12253dbb6c707a4f5a84ce8 (patch) | |
tree | b429fa014a843fb57e7af03448c5318c4a0b8d7d /test/Parser/check-objc2-syntax-1.m | |
parent | 6667ef7d81ca0bb4e0800cb3e722522a4adac48a (diff) | |
download | clang-46d5a265d56111cdf12253dbb6c707a4f5a84ce8.tar.gz |
[Parser] Remove "add -fmodules" from the "use of '@import' when modules are disabled, add -fmodules" error.
We disable modules for C++, at which point this is confusing.
rdar://16641918
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/check-objc2-syntax-1.m')
-rw-r--r-- | test/Parser/check-objc2-syntax-1.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/check-objc2-syntax-1.m b/test/Parser/check-objc2-syntax-1.m index 6c30096cdd..364f826776 100644 --- a/test/Parser/check-objc2-syntax-1.m +++ b/test/Parser/check-objc2-syntax-1.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // rdar://15505492 -@import Foundation; // expected-error {{use of '@import' when modules are disabled, add -fmodules}} +@import Foundation; // expected-error {{use of '@import' when modules are disabled}} @interface Subclass + (int)magicNumber; |