]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Driver/ms-inline-asm.c
Vendor import of clang RELEASE_361/final tag r237755 (effectively, 3.6.1 release):
[FreeBSD/FreeBSD.git] / test / Driver / ms-inline-asm.c
1 // 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"