blob: 03835647c336d4831ae1cca63c77eceb87907738 [file] [log] [blame]
Chad Rosierc8e56e82012-12-05 21:08:21 +00001// RUN: %clang -target x86_64-apple-darwin10 \
2// RUN: -### -fsyntax-only -fasm-blocks %s 2> %t
3// RUN: FileCheck --check-prefix=CHECK-BLOCKS < %t %s
4
5// RUN: %clang -target x86_64-apple-darwin10 \
6// RUN: -### -fsyntax-only -fno-asm-blocks -fasm-blocks %s 2> %t
7// RUN: FileCheck --check-prefix=CHECK-BLOCKS < %t %s
8
9// CHECK-BLOCKS: "-fasm-blocks"
10
11// RUN: %clang -target x86_64-apple-darwin10 \
12// RUN: -### -fsyntax-only -fasm-blocks -fno-asm-blocks %s 2> %t
13// RUN: FileCheck --check-prefix=CHECK-NO-BLOCKS < %t %s
14
15// CHECK-NO-BLOCKS-NOT: "-fasm-blocks"