]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Driver/fatal-warnings.c
Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1):
[FreeBSD/FreeBSD.git] / test / Driver / fatal-warnings.c
1 // RUN: %clang -### %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck %s
2 // RUN: not %clang %s -c -o %t.o -target i686-pc-linux-gnu -integrated-as -Wa,--fatal-warnings 2>&1 %t.log
3 // FileCheck --check-prefix=CHECK-AS %s -input-file %t.log
4
5 // CHECK: "-cc1" {{.*}} "-massembler-fatal-warnings"
6 // CHECK-AS: error: .warning argument must be a string
7
8 __asm(".warning 1");