forked from OSchip/llvm-project
12 lines
784 B
C
12 lines
784 B
C
// 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 &&
|
|
// RUN: grep -F '"-fblocks"' %t &&
|
|
// RUN: grep -F '"--fmath-errno=1"' %t &&
|
|
// RUN: grep -F '"-fpascal-strings"' %t &&
|
|
// 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 %s 2> %t &&
|
|
// RUN: grep -F '"-fblocks=0"' %t &&
|
|
// RUN: grep -F '"-fbuiltin=0"' %t &&
|
|
// RUN: grep -F '"-fno-common"' %t &&
|
|
// RUN: grep -F '"--fmath-errno=0"' %t &&
|
|
// RUN: grep -F '"-fno-show-source-location"' %t &&
|
|
// RUN: true
|