repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pr5310.C
blob
48a60062f1bf807b06d0f77c2755689cf33fe6b9
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
}