Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr45.C
blob: 3ff226803dff266141cc86ab922ba7efe57d782a [
file
] [
log
] [
blame
]
// PR c++/92992
// { dg-do run { target c++11 } }
int
a
;
void
bar
(
int
,
...)
{
}
decltype
(
nullptr
)
baz
()
{
a
++;
return
nullptr
;
}
int
main
()
{
bar
(
0
,
baz
());
if
(
a
!=
1
)
__builtin_abort
();
}