Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Waddress-of-packed-member2.C
blob: e9bf7cac04c9438a948aa1a4b4331ac8ed54138c [
file
] [
log
] [
blame
]
// PR c++/89973
// { dg-do compile { target c++14 } }
constexpr
int
a
();
// { dg-warning "used but never defined" }
template
<typename>
constexpr
void
*
b
=
a
();
// { dg-error "invalid conversion" }