xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/debug-info-version.c (revision bdb565187c0f1a04513dd488df843317b27f86c8)
1 // RUN: %clang -g -S -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang -S -emit-llvm -o - %s | FileCheck %s --check-prefix=NO_DEBUG
3 int main (void) {
4   return 0;
5 }
6 
7 // CHECK:  i32 2, !"Debug Info Version", i32 2}
8 // NO_DEBUG-NOT: !"Debug Info Version"
9