Sign in
llvm
/
clang
/
337cba4b3e17b98cfa512dfd12e57f4ccb0859be
/
.
/
test
/
SemaTemplate
/
instantiate-non-type-template-parameter.cpp
blob: 32acbd0d8bdc3675b0a790c75573a4e7dec30942 [
file
] [
log
] [
blame
]
// RUN: clang-cc -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>
();
}