summaryrefslogtreecommitdiff
path: root/test/Modules/compiler_builtins_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/compiler_builtins_x86.c')
-rw-r--r--test/Modules/compiler_builtins_x86.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Modules/compiler_builtins_x86.c b/test/Modules/compiler_builtins_x86.c
new file mode 100644
index 0000000000000..1b4d42177ab0b
--- /dev/null
+++ b/test/Modules/compiler_builtins_x86.c
@@ -0,0 +1,7 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -triple i686-unknown-unknown -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -verify -ffreestanding
+// RUN: %clang_cc1 -triple i686-unknown-unknown -fsyntax-only -fmodules -fmodule-map-file=%resource_dir/module.modulemap -fmodules-cache-path=%t %s -verify -ffreestanding
+// expected-no-diagnostics
+
+#include<x86intrin.h>
+