summaryrefslogtreecommitdiffstats
path: root/test/Driver/flags.c
blob: 698a54ecf78b4f4d05e0525f47413d767f42adc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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 -mno-implicit-float %s 2> %t.log
// RUN: grep '"-no-implicit-float"' %t.log | count 1
OpenPOWER on IntegriCloud