OSDN Git Service

2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / warn / pr5310.C
1 // PR 5310
2 // { dg-do compile }
3 // { dg-options "-pedantic -Wall -Wextra -Wpointer-arith -Wconversion" } 
4 void foo (int);
5 void foo (long);
6
7 void bar()
8 {
9    foo ((int)__null);
10    foo ((long)__null);
11 }