You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
295 B
13 lines
295 B
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
|
|
|
|
struct A { ~A(); };
|
|
void func() {
|
|
return;
|
|
static A k;
|
|
}
|
|
|
|
// Test that we did not crash, by checking whether function was created.
|
|
// CHECK-LABEL: define void @_Z4funcv() #0 {
|
|
// CHECK: ret void
|
|
// CHECK: }
|