1 // Forward declare a template and a specialization;
2 template <typename T
> class Temp
;
3 template <> class Temp
<int>;
5 // Force that debug informatin for the specialization is emitted.
6 // Clang and GCC will create debug information that lacks any description
7 // of the template argument 'int'.
10 // Define the template and create an implicit instantiation.
11 template <typename T
> class Temp
{ int f
; };
15 return 0; // break here