[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / native-llvm.c
blobc9543b855bc767316f7bdd8708de87573ed4c5a1
1 // Check that clang reports an error message if -flto without -c is used
2 // on a toolchain that is not expecting it (HasNativeLLVMSupport() is false).
4 // RUN: %clang -### -flto -target x86_64-unknown-unknown %s 2>&1 | FileCheck %s
5 // CHECK: error: {{.*}} unable to pass LLVM bit-code files to linker