Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Douglas Gregor | 49f25ec | 2009-05-15 21:18:27 +0000 | [diff] [blame] | 2 | template <typename T> struct S { |
3 | S() { } | ||||
4 | S(T t); | ||||
5 | }; | ||||
6 | |||||
7 | template struct S<int>; | ||||
8 | |||||
9 | void f() { | ||||
10 | S<int> s1; | ||||
11 | S<int> s2(10); | ||||
12 | } |