summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/PR5093-static-member-function.cpp
blob: ceab8528e8bcb456e61bcf3df6a096d0a14ae344 (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
struct a {
  static void f();
};

void g(a *a) {
  // CHECK: call void @_ZN1a1fEv()
  a->f();
}