1 // RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
13 void set(T _x
) { x
= _x
; }
25 T
get() { return foo
.get(); }
26 void set(T _x
) { foo
.set(_x
); }
32 Baz(T x
) : Foo
<T
>(x
) {}
36 // These two specializations should generate lines for all of Foo's methods.
38 template struct Foo
<char>;
40 template struct Foo
<short>;
42 // This should not generate lines for the implicit specialization of Foo, but
43 // should generate lines for the explicit specialization of Bar.
45 template struct Bar
<int>;
47 // This should not generate lines for the implicit specialization of Foo, but
48 // should generate lines for the explicit specialization of Baz.
50 template struct Baz
<long>;