log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
hg
>
CbC
>
CbC_gcc
comparison gcc/testsuite/g++.dg/warn/pr5310.C @ 111:
04ced10e8804
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
gcc 7
author
kono
date
Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal
deleted
inserted
replaced
68:561a7518be6b
111:04ced10e8804
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
}