llvm-project/clang/test/Driver/flags.c

12 lines
539 B
C
Raw Normal View History

// RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float %s 2> %t.log
// RUN: grep '"-no-implicit-float"' %t.log
// RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float -mno-soft-float %s 2> %t.log
// RUN: grep '"-no-implicit-float"' %t.log | count 0
// RUN: %clang -target i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2> %t.log
// RUN: grep '"-no-implicit-float"' %t.log
// RUN: %clang -target armv7-apple-darwin10 -### -S -no-implicit-float %s 2> %t.log
// RUN: grep '"-no-implicit-float"' %t.log | count 1