diff options
author | dim <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
commit | c72c57c9e9b69944e3e009cd5e209634839581d3 (patch) | |
tree | 4fc2f184c499d106f29a386c452b49e5197bf63d /test/Modules/module_file_info.m | |
parent | 5b20025c30d23d521e12c1f33ec8fa6b821952cd (diff) | |
download | FreeBSD-src-c72c57c9e9b69944e3e009cd5e209634839581d3.zip FreeBSD-src-c72c57c9e9b69944e3e009cd5e209634839581d3.tar.gz |
Vendor import of clang trunk r178860:
http://llvm.org/svn/llvm-project/cfe/trunk@178860
Diffstat (limited to 'test/Modules/module_file_info.m')
-rw-r--r-- | test/Modules/module_file_info.m | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/Modules/module_file_info.m b/test/Modules/module_file_info.m new file mode 100644 index 0000000..09319d6 --- /dev/null +++ b/test/Modules/module_file_info.m @@ -0,0 +1,34 @@ + +@import DependsOnModule; + +// RUN: rm -rf %t +// RUN: %clang_cc1 -w -fmodules -fdisable-module-hash -fmodules-cache-path=%t -F %S/Inputs -DBLARG -DWIBBLE=WOBBLE %s +// RUN: %clang_cc1 -module-file-info %t/DependsOnModule.pcm | FileCheck %s + +// CHECK: Generated by this Clang: + +// CHECK: Language options: +// CHECK: C99: Yes +// CHECK: Objective-C 1: Yes +// CHECK: modules extension to C: Yes + +// CHECK: Target options: +// CHECK: Triple: +// CHECK: CPU: +// CHECK: ABI: +// CHECK: C++ ABI: +// CHECK: Linker version: + +// CHECK: Header search options: +// CHECK: System root [-isysroot=]: '/' +// CHECK: Use builtin include directories [-nobuiltininc]: Yes +// CHECK: Use standard system include directories [-nostdinc]: Yes +// CHECK: Use standard C++ include directories [-nostdinc++]: Yes +// CHECK: Use libc++ (rather than libstdc++) [-stdlib=]: + +// CHECK: Preprocessor options: +// CHECK: Uses compiler/target-specific predefines [-undef]: Yes +// CHECK: Uses detailed preprocessing record (for indexing): No +// CHECK: Predefined macros: +// CHECK: -DBLARG +// CHECK: -DWIBBLE=WOBBLE |