netbsd/external/bsd/llvm/dist/clang/test/CodeGenCXX/PR5093-static-member-function.cpp
2014-01-15 10:53:42 +01:00

10 lines
149 B
C++

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