☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
unsigned-typedef1.C
☽
☼
gcc/testsuite/g++.dg/ext/unsigned-typedef1.C
code
plain
raw
1
// PR c++/102804
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wpedantic" }
4
5
using int32_t = int;
6
enum: unsigned int32_t { foo }; // { dg-warning "int32_t" }
7
int f(int) = delete;
8
int f(unsigned);
9
auto x = f(1 ? foo : 1);