mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 02:16:07 +00:00
12 lines
350 B
Plaintext
12 lines
350 B
Plaintext
//RUN: %clang_cc1 %s -triple spir -emit-llvm -O0 -o - | FileCheck %s
|
|
|
|
struct S {
|
|
~S(){};
|
|
};
|
|
S s;
|
|
|
|
//CHECK-LABEL: define internal spir_func void @__cxx_global_var_init()
|
|
//CHECK: call spir_func i32 @__cxa_atexit(ptr @_ZNU3AS41SD1Ev, ptr null, ptr addrspace(1) @__dso_handle)
|
|
|
|
//CHECK: declare spir_func i32 @__cxa_atexit(ptr, ptr, ptr addrspace(1))
|