[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / CodeGenCXX / pr31054.cpp
blob2444d1edb16f50a919ff6232f24a75c2820a68e4
1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
3 struct A { ~A(); };
4 void func() {
5 return;
6 static A k;
9 // Test that we did not crash, by checking whether function was created.
10 // CHECK-LABEL: define{{.*}} void @_Z4funcv() #0 {
11 // CHECK: ret void
12 // CHECK: }