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 | c50d4924eb2e84f5b2d9a39ab828410624f27643 (patch) | |
| tree | 41595167dda1e9644cc359f865e63de151bc25d4 /clang/test/Modules/cstd.m | |
| parent | b798fc98491be64027818fd2362e1896a9935903 (diff) | |
| download | bcm5719-llvm-c50d4924eb2e84f5b2d9a39ab828410624f27643.tar.gz bcm5719-llvm-c50d4924eb2e84f5b2d9a39ab828410624f27643.zip | |
Use @import rather than @__experimental_modules_import, since the
latter is rather a mess to type.
llvm-svn: 169919
Diffstat (limited to 'clang/test/Modules/cstd.m')
| -rw-r--r-- | clang/test/Modules/cstd.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Modules/cstd.m b/clang/test/Modules/cstd.m index e262c7e1442..928748570c4 100644 --- a/clang/test/Modules/cstd.m +++ b/clang/test/Modules/cstd.m @@ -2,24 +2,24 @@ // RUN: %clang -fsyntax-only -isystem %S/Inputs/System/usr/include -fmodules -fmodule-cache-path %t -D__need_wint_t -Werror=implicit-function-declaration %s // Supplied by compiler, but referenced from the "/usr/include" module map. -@__experimental_modules_import cstd.float_constants; +@import cstd.float_constants; float getFltMax() { return FLT_MAX; } // Supplied by the "/usr/include" module map. -@__experimental_modules_import cstd.stdio; +@import cstd.stdio; void test_fprintf(FILE *file) { fprintf(file, "Hello, modules\n"); } // Supplied by compiler, which forwards to the "/usr/include" version. -@__experimental_modules_import cstd.stdint; +@import cstd.stdint; my_awesome_nonstandard_integer_type value; // Supplied by the compiler; that version wins. -@__experimental_modules_import cstd.stdbool; +@import cstd.stdbool; #ifndef bool # error "bool was not defined!" |

