Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C

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