repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr45.C
blob
3ff226803dff266141cc86ab922ba7efe57d782a
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
}