Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s |
Anders Carlsson | 2472bf0 | 2009-09-29 03:54:11 +0000 | [diff] [blame] | 2 | struct a { |
3 | static void f(); | ||||
4 | }; | ||||
5 | |||||
6 | void g(a *a) { | ||||
7 | // CHECK: call void @_ZN1a1fEv() | ||||
8 | a->f(); | ||||
9 | } |