Chandler Carruth | c304ba3 | 2010-05-22 02:21:53 +0000 | [diff] [blame] | 1 | // RUN: %clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fmath-errno -fno-common -fno-pascal-strings -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s |
Argyrios Kyrtzidis | 9a2b9d7 | 2010-10-08 00:25:19 +0000 | [diff] [blame] | 2 | // RUN: %clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-asm -fno-blocks -fno-builtin -fmath-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-enums -fshort-wchar %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s |
Ted Kremenek | 6feaf57 | 2009-12-12 00:38:18 +0000 | [diff] [blame] | 3 | |
Chandler Carruth | c304ba3 | 2010-05-22 02:21:53 +0000 | [diff] [blame] | 4 | // CHECK-OPTIONS1: -fgnu-keywords |
Ted Kremenek | 5099b80 | 2009-12-12 00:42:52 +0000 | [diff] [blame] | 5 | // CHECK-OPTIONS1: -fblocks |
| 6 | // CHECK-OPTIONS1: -fpascal-strings |
| 7 | |
Chandler Carruth | c304ba3 | 2010-05-22 02:21:53 +0000 | [diff] [blame] | 8 | // CHECK_OPTIONS2: -fno-gnu-keywords |
Dan Gohman | c31176d | 2010-01-08 02:20:44 +0000 | [diff] [blame] | 9 | // CHECK-OPTIONS2: -fmath-errno |
Daniel Dunbar | 288294f | 2009-12-13 02:00:23 +0000 | [diff] [blame] | 10 | // CHECK-OPTIONS2: -fno-builtin |
Argyrios Kyrtzidis | 9a2b9d7 | 2010-10-08 00:25:19 +0000 | [diff] [blame] | 11 | // CHECK-OPTIONS2: -fshort-enums |
Daniel Dunbar | 288294f | 2009-12-13 02:00:23 +0000 | [diff] [blame] | 12 | // CHECK-OPTIONS2: -fshort-wchar |
| 13 | // CHECK-OPTIONS2: -fno-common |
Ted Kremenek | 5099b80 | 2009-12-12 00:42:52 +0000 | [diff] [blame] | 14 | // CHECK-OPTIONS2: -fno-show-source-location |