1 | // RUN: %clang_cc1 -fsyntax-only -fmodules %s -verify |
---|---|
2 | // RUN: %clang_cc1 -fsyntax-only %s -verify |
3 | |
4 | // expected-no-diagnostics |
5 | template <typename Var> |
6 | struct S { |
7 | template <unsigned N> |
8 | struct Inner { }; |
9 | |
10 | template <> |
11 | struct Inner<0> { }; |
12 | }; |
13 | |
14 | S<int>::Inner<1> I1; |
15 | S<int>::Inner<0> I0; |
16 |