diff options
Diffstat (limited to 'clang/test/Driver/x86-target-features.c')
| -rw-r--r-- | clang/test/Driver/x86-target-features.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/x86-target-features.c b/clang/test/Driver/x86-target-features.c index 41547a512de..26f5843e413 100644 --- a/clang/test/Driver/x86-target-features.c +++ b/clang/test/Driver/x86-target-features.c @@ -164,3 +164,8 @@ // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-pconfig %s -### -o %t.o 2>&1 | FileCheck -check-prefix=NO-PCONFIG %s // PCONFIG: "-target-feature" "+pconfig" // NO-PCONFIG: "-target-feature" "-pconfig" + +// RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mptwrite %s -### -o %t.o 2>&1 | FileCheck -check-prefix=PTWRITE %s +// RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-ptwrite %s -### -o %t.o 2>&1 | FileCheck -check-prefix=NO-PTWRITE %s +// PTWRITE: "-target-feature" "+ptwrite" +// NO-PTWRITE: "-target-feature" "-ptwrite" |

