☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-value-1.C
☽
☼
gcc/testsuite/g++.dg/warn/Wunused-value-1.C
code
plain
raw
1
// PR c++/107797
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wunused" }
4
5
void
6
g ()
7
{
8
(long) new int{};
9
long(new int{});
10
(long) new int();
11
long(new int());
12
}