xref: /llvm-project/clang/test/CodeGen/debug-info-version.c (revision f04be1fb3a9f4b8a7591824d6985556ac578e3cf)
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
main(void)3 int main (void) {
4   return 0;
5 }
6 
7 // CHECK:  i32 2, !"Debug Info Version", i32 3}
8 // NO_DEBUG-NOT: !"Debug Info Version"
9