Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
nontype4.C
blob: ff476dcf1dfb53f3fdf831d0c88d60c0785bb015 [
file
] [
log
] [
blame
]
// PR c++/98930
// { dg-do compile { target c++17 } }
template
<
int
*>
struct
A
{
A
()
{
}
};
template
<
class
T
>
void
impl
()
{
static
int
i
;
static
A
<&
i
>
a
;
}
template
void
impl
<int>
();
template
void
impl
<char>
();