blob: b63a4379da197a87befa6fbd3567a164d5c74cf7 [file] [log] [blame]
Daniel Dunbarb3fd5002009-03-24 17:59:06 +00001// RUN: clang -ccc-host-triple i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm 2> %t.log
Daniel Dunbar5697aa02009-03-18 23:39:35 +00002// RUN: grep '"-S"' %t.log &&
3// RUN: grep '"-disable-free"' %t.log &&
4// RUN: grep '"--relocation-model" "static"' %t.log &&
5// RUN: grep '"--disable-fp-elim"' %t.log &&
6// RUN: grep '"--unwind-tables=0"' %t.log &&
7// RUN: grep '"--fmath-errno=1"' %t.log &&
8// RUN: grep '"-Os"' %t.log &&
9// RUN: grep '"-arch" "i386"' %t.log &&
10// RUN: grep '"-o" .*clang-translation\.c\.out\.tmp\.s' %t.log &&
Daniel Dunbarb3fd5002009-03-24 17:59:06 +000011// RUN: grep '"--asm-verbose"' %t.log &&
Daniel Dunbar5697aa02009-03-18 23:39:35 +000012// RUN: true