| 1 |
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 -Wpre-c++17-compat %s |
| 2 |
// expected-no-diagnostics |
| 3 |
|
| 4 |
namespace GH57362 { |
| 5 |
template <int num> |
| 6 |
class TemplateClass {}; |
| 7 |
|
| 8 |
template <TemplateClass nttp> // ok, no diagnostic expected |
| 9 |
void func() {} |
| 10 |
} |