Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Modules/local-visibility.cpp @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
rev | line source |
---|---|
150 | 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; |