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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
Wzero-as-null-pointer-constant-3.C
blob
3e471aa2c939a79196af95df413cc9695820e2d5
1
// PR c++/70808
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wzero-as-null-pointer-constant" }
4
5
int* no_warn = {};
6
decltype( nullptr ) warn = {}; // { dg-bogus "zero as null pointer constant" }