Debian Codegraph @

gcc/testsuite/g++.dg/warn/pr5310.C

raw
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 }