2010-01-08 10:20:44 +08:00
|
|
|
// RUN: %clang -### -S -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
|
|
|
|
// RUN: %clang -### -S -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fmath-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-wchar %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s
|
2009-12-16 06:01:24 +08:00
|
|
|
// RUN: %clang -### -fshort-enums %s 2>&1 | FileCheck -check-prefix=CHECK-SHORT-ENUMS %s
|
2009-12-12 08:38:18 +08:00
|
|
|
|
2009-12-12 08:42:52 +08:00
|
|
|
// CHECK-OPTIONS1: -fblocks
|
|
|
|
// CHECK-OPTIONS1: -fpascal-strings
|
|
|
|
|
2010-01-08 10:20:44 +08:00
|
|
|
// CHECK-OPTIONS2: -fmath-errno
|
2009-12-12 08:42:52 +08:00
|
|
|
// CHECK-OPTIONS2: -fno-builtin
|
2009-12-13 10:00:23 +08:00
|
|
|
// CHECK-OPTIONS2: -fshort-wchar
|
2009-12-12 08:42:52 +08:00
|
|
|
// CHECK-OPTIONS2: -fno-common
|
|
|
|
// CHECK-OPTIONS2: -fno-show-source-location
|
|
|
|
|
2009-12-12 08:38:18 +08:00
|
|
|
// CHECK-SHORT-ENUMS: compiler does not support '-fshort-enums'
|