Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
static28.C
blob: eb5ec5313e5e8135f9b8c72a939e5549bff4acd7 [
file
] [
log
] [
blame
]
// PR c++/29518
template
<
bool
C
>
int
assertion_failed
(
int
);
template
<
class
>
struct
N
{
static
bool
const
okay
=
true
;
enum
{
t
=
sizeof
(
assertion_failed
<okay>
(
0
))
};
};
int
main
()
{
N
<int>
n
;
}