blob: b18f14758db1a28e17d841ee1a4b6e2341b4bef6 [file] [log] [blame]
Daniel Dunbar8b576972009-11-08 01:45:36 +00001// RUN: clang -### -S -x c /dev/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings %s 2> %t
2// RUN: grep -F '"-fblocks"' %t
3// RUN: grep -F '"--fmath-errno=1"' %t
4// RUN: grep -F '"-fpascal-strings"' %t
5// RUN: clang -### -S -x c /dev/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-wchar %s 2> %t
Daniel Dunbar8b576972009-11-08 01:45:36 +00006// RUN: grep -F '"-fbuiltin=0"' %t
7// RUN: grep -F '"-fno-common"' %t
8// RUN: grep -F '"--fmath-errno=0"' %t
9// RUN: grep -F '"-fno-show-source-location"' %t
10// RUN: grep -F '"-fshort-wchar"' %t