Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
unsigned-typedef1.C
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
);