Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }