]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/thin_link_bitcode.c
Vendor import of clang trunk r300422:
[FreeBSD/FreeBSD.git] / test / CodeGen / thin_link_bitcode.c
1 // RUN: %clang_cc1 -o %t -flto=thin -fthin-link-bitcode=%t.nodebug -triple x86_64-unknown-linux-gnu -emit-llvm-bc -debug-info-kind=limited %s
2 // RUN: llvm-bcanalyzer -dump %t | FileCheck %s
3 // RUN: llvm-bcanalyzer -dump %t.nodebug | FileCheck %s --check-prefix=NO_DEBUG
4 int main (void) {
5   return 0;
6 }
7
8 // CHECK: COMPILE_UNIT
9 // NO_DEBUG-NOT: COMPILE_UNIT