Debian Codegraph @

gcc/testsuite/g++.dg/ext/unsigned-typedef1.C

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);