summaryrefslogtreecommitdiff
path: root/test/Preprocessor/x86_target_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/x86_target_features.c')
-rw-r--r--test/Preprocessor/x86_target_features.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/x86_target_features.c b/test/Preprocessor/x86_target_features.c
index 43cf615546b1..a201900ba762 100644
--- a/test/Preprocessor/x86_target_features.c
+++ b/test/Preprocessor/x86_target_features.c
@@ -352,3 +352,7 @@
// NOXSAVE-NOT: #define __XSAVEOPT__ 1
// NOXSAVE-NOT: #define __XSAVE__ 1
+
+// RUN: %clang -target i386-unknown-unknown -march=atom -mclflushopt -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=CLFLUSHOPT %s
+
+// CLFLUSHOPT: #define __CLFLUSHOPT__ 1