aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaTemplate/gh57362.cpp
blob: 87bd8da0a91dadba7685b0e3afca650f6100b970 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 -Wpre-c++17-compat %s
// expected-no-diagnostics

namespace GH57362 {
template <int num>
class TemplateClass {};

template <TemplateClass nttp> // ok, no diagnostic expected
void func() {}
}