blob: 7a885b699b1540db464e0e5ca6236bb23ee16108 [file] [log] [blame]
Sebastian Popedd4f3c2012-01-13 20:37:02 +00001// RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float %s 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +00002// RUN: grep '"-no-implicit-float"' %t.log
Daniel Dunbar776dbd82009-03-30 18:13:26 +00003
Sebastian Popedd4f3c2012-01-13 20:37:02 +00004// RUN: %clang -target i386-apple-darwin9 -### -S -msoft-float -mno-soft-float %s 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +00005// RUN: grep '"-no-implicit-float"' %t.log | count 0
Daniel Dunbar776dbd82009-03-30 18:13:26 +00006
Sebastian Popedd4f3c2012-01-13 20:37:02 +00007// RUN: %clang -target i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2> %t.log
Daniel Dunbar66861e02009-11-20 22:21:36 +00008// RUN: grep '"-no-implicit-float"' %t.log
Daniel Dunbar776dbd82009-03-30 18:13:26 +00009