blob: 360b5f81edfe3a89f124899c2fab3622b1608be2 [file] [log] [blame]
// 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);