diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-03 18:04:46 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-03 18:04:46 +0000 |
commit | 22d0974b40673d2492c5427e4066743223cab696 (patch) | |
tree | c6f73e4f476920769896981552fb01f646313085 /clang/test/Modules/on-demand-macros.m | |
parent | e097d4ba268d4a04845d23143672953d9efb6302 (diff) | |
download | bcm5719-llvm-22d0974b40673d2492c5427e4066743223cab696.tar.gz bcm5719-llvm-22d0974b40673d2492c5427e4066743223cab696.zip |
Introduce a non-uglified syntax for module imports in Objective-C:
@import identifier [. identifier]* ;
llvm-svn: 147452
Diffstat (limited to 'clang/test/Modules/on-demand-macros.m')
-rw-r--r-- | clang/test/Modules/on-demand-macros.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/on-demand-macros.m b/clang/test/Modules/on-demand-macros.m index 96abb2331f1..2b267f15a0e 100644 --- a/clang/test/Modules/on-demand-macros.m +++ b/clang/test/Modules/on-demand-macros.m @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -fmodule-cache-path %t -F %S/Inputs -DFOO_RETURNS_INT_PTR -verify %s // RUN: %clang_cc1 -fmodule-cache-path %t -F %S/Inputs -verify %s -__import_module__ CmdLine; +@import CmdLine; void test() { #ifdef FOO_RETURNS_INT_PTR |