Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
();
}