diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-12-11 22:11:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-12-11 22:11:52 +0000 |
commit | 1b257afbae854c6817f26b7d61c4fed8ff7aebad (patch) | |
tree | b55dde41e149b05234a21023307864c49b380144 /test/Modules/macros.c | |
parent | bd5da3ca593fbf354fd19c2894eee50694c96788 (diff) |
Use @import rather than @__experimental_modules_import, since the
latter is rather a mess to type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/macros.c')
-rw-r--r-- | test/Modules/macros.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Modules/macros.c b/test/Modules/macros.c index 8db3915f24..f6b47442c4 100644 --- a/test/Modules/macros.c +++ b/test/Modules/macros.c @@ -16,7 +16,7 @@ // expected-note{{other definition of 'TOP_RIGHT_REDEF'}} -@__experimental_modules_import macros; +@import macros; #ifndef INTEGER # error INTEGER macro should be visible @@ -65,7 +65,7 @@ void f() { #endif // Import left module (which also imports top) -@__experimental_modules_import macros_left; +@import macros_left; #ifndef LEFT # error LEFT should be visible @@ -91,7 +91,7 @@ void test1() { #define LEFT_RIGHT_DIFFERENT2 double // FIXME: expected-warning{{'LEFT_RIGHT_DIFFERENT2' macro redefined}} // Import right module (which also imports top) -@__experimental_modules_import macros_right; +@import macros_right; #undef LEFT_RIGHT_DIFFERENT3 @@ -130,7 +130,7 @@ void test3() { # error TOP_RIGHT_UNDEF should still be defined #endif -@__experimental_modules_import macros_right.undef; +@import macros_right.undef; #ifdef TOP_RIGHT_UNDEF # error TOP_RIGHT_UNDEF should not be defined |