repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
pr31054.cpp
blob
2444d1edb16f50a919ff6232f24a75c2820a68e4
1
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
2
3
struct
A
{ ~
A
(); };
4
void
func
() {
5
return
;
6
static
A k
;
7
}
8
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: }