Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_literal_type1.C
blob: b146bdee9f10b591456a04851514e0d28cd7acbd [
file
] [
log
] [
blame
]
// PR c++/48771
// { dg-do compile { target c++11 } }
struct
NonLiteral
{
NonLiteral
();
~
NonLiteral
();
};
static_assert
(
__is_literal_type
(
NonLiteral
&),
"Error"
);
static_assert
(
__is_literal_type
(
NonLiteral
&&),
"Error"
);