xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/flags.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float %s 2>&1 | FileCheck -check-prefix=TEST1 %s
2*f4a2713aSLionel Sambuc // TEST1: "-no-implicit-float"
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float -mno-soft-float %s 2>&1 | FileCheck -check-prefix=TEST2 %s
5*f4a2713aSLionel Sambuc // TEST2-NOT: "-no-implicit-float"
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2>&1 | FileCheck -check-prefix=TEST3 %s
8*f4a2713aSLionel Sambuc // TEST3: "-no-implicit-float"
9*f4a2713aSLionel Sambuc 
10*f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S -mno-implicit-float %s 2>&1 | FileCheck -check-prefix=TEST4 %s
11*f4a2713aSLionel Sambuc // TEST4: "-no-implicit-float"
12*f4a2713aSLionel Sambuc 
13*f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S -mno-implicit-float -mimplicit-float %s 2>&1 | FileCheck -check-prefix=TEST4A %s
14*f4a2713aSLionel Sambuc // TEST4A-NOT: "-no-implicit-float"
15*f4a2713aSLionel Sambuc 
16*f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S -mkernel %s 2>&1 | FileCheck -check-prefix=TEST5 %s
17*f4a2713aSLionel Sambuc // TEST5: "-no-implicit-float"
18*f4a2713aSLionel Sambuc 
19*f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin9 -### -S -mkernel -mno-soft-float %s 2>&1 | FileCheck -check-prefix=TEST6 %s
20*f4a2713aSLionel Sambuc // TEST6-NOT: "-no-implicit-float"
21*f4a2713aSLionel Sambuc 
22*f4a2713aSLionel Sambuc // RUN: %clang -target armv7-apple-darwin10 -### -S -mno-implicit-float %s 2>&1 | FileCheck -check-prefix=TEST7 %s
23*f4a2713aSLionel Sambuc // TEST7: "-no-implicit-float"
24*f4a2713aSLionel Sambuc 
25*f4a2713aSLionel Sambuc // RUN: %clang -target armv7-apple-darwin10 -### -S -mno-implicit-float -mimplicit-float %s 2>&1 | FileCheck -check-prefix=TEST8 %s
26*f4a2713aSLionel Sambuc // TEST8-NOT: "-no-implicit-float"
27