mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 07:46:06 +00:00

Previous, if no Decl's were checked, visibility was set to false. Switch it so that in cases of no Decl's, return true. These are the Decl's after being filtered. Also remove an unreachable return statement since it is directly after another return statement. llvm-svn: 334160
16 lines
289 B
C++
16 lines
289 B
C++
// RUN: %clang_cc1 -fsyntax-only -fmodules %s -verify
|
|
// RUN: %clang_cc1 -fsyntax-only %s -verify
|
|
|
|
// expected-no-diagnostics
|
|
template <typename Var>
|
|
struct S {
|
|
template <unsigned N>
|
|
struct Inner { };
|
|
|
|
template <>
|
|
struct Inner<0> { };
|
|
};
|
|
|
|
S<int>::Inner<1> I1;
|
|
S<int>::Inner<0> I0;
|