diff options
Diffstat (limited to 'clang/test/Driver/x86_features.c')
-rw-r--r-- | clang/test/Driver/x86_features.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/x86_features.c b/clang/test/Driver/x86_features.c new file mode 100644 index 0000000..5c65e31 --- /dev/null +++ b/clang/test/Driver/x86_features.c @@ -0,0 +1,3 @@ +// RUN: %clang -target i386-unknown-unknown -### -S %s -msse -msse4 -mno-sse -mno-mmx -msse 2> %t +// RUN: grep '"pentium4" "-target-feature" "+sse4" "-target-feature" "-mmx" "-target-feature" "+sse"' %t +// Note that we filter out all but the last -m(no)sse. |