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

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