blob: 360b5f81edfe3a89f124899c2fab3622b1608be2 (
plain)
1
2
3
4
5
6
7
8
9
|
// PR c++/102804
// { dg-do compile { target c++11 } }
// { dg-options "-Wpedantic" }
using int32_t = int;
enum: unsigned int32_t { foo }; // { dg-warning "int32_t" }
int f(int) = delete;
int f(unsigned);
auto x = f(1 ? foo : 1);
|