blob: 8d046a2f4a9b54e6b62053f70994b1b60286a19e [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
Anders Carlsson48eda2c2009-12-04 22:35:50 +00002// CHECK: ; ModuleID
3
4struct A {
5 inline void f();
6};
7
8// CHECK-NOT: define void @_ZN1A1fEv
9void A::f() { }
10
11template<typename> struct B { };
12
13template<> struct B<char> {
14 inline void f();
15};
16
17// CHECK-NOT: _ZN1BIcE1fEv
18void B<char>::f() { }
19
20// We need a final CHECK line here.
21
22// CHECK: define void @_Z1fv
23void f() { }