opnsense-src/test/CodeGenCXX/PR5093-static-member-function.cpp

10 lines
183 B
C++
Raw Normal View History

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