☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr45.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/nullptr45.C
code
plain
raw
1
// PR c++/92992
2
// { dg-do run { target c++11 } }
3
4
int a;
5
6
void
7
bar (int, ...)
8
{
9
}
10
11
decltype (nullptr)
12
baz ()
13
{
14
a++;
15
return nullptr;
16
}
17
18
int
19
main ()
20
{
21
bar (0, baz ());
22
if (a != 1)
23
__builtin_abort ();
24
}