bolt/deps/llvm-18.1.8/clang/test/CodeGenCXX/PR5093-static-member-function.cpp
2025-02-14 19:21:04 +01:00

9 lines
183 B
C++

// RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s
struct a {
static void f();
};
void g(a *a) {
// CHECK: call {{.*}}void @_ZN1a1fEv()
a->f();
}