Sign in
llvm
/
clang
/
1571f048734190c5ed03d1a6083e579ec7b5801f
/
.
/
test
/
SemaTemplate
/
instantiate-non-type-template-parameter.cpp
blob: 414e62b13a032803ce30c5207769483e694c0931 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR5311
template
<
typename
T
>
class
StringSwitch
{
public
:
template
<
unsigned
N
>
void
Case
(
const
char
(&
S
)[
N
],
const
int
&
Value
)
{
}
};
int
main
(
int
argc
,
char
*
argv
[])
{
(
void
)
StringSwitch
<int>
();
}