Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr45.C
blob3ff226803dff266141cc86ab922ba7efe57d782a
1 // PR c++/92992
2 // { dg-do run { target c++11 } }
4 int a;
6 void
7 bar (int, ...)
11 decltype (nullptr)
12 baz ()
14   a++;
15   return nullptr;
18 int
19 main ()
21   bar (0, baz ());
22   if (a != 1)
23     __builtin_abort ();