Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr83919.C
blob: a612f0261914ad5fc9173d7a01aa55789a7a5c75 [
file
] [
log
] [
blame
]
// PR c++/83919
// { dg-do compile { target c++11 } }
// { dg-options "-Wignored-qualifiers" }
enum
class
Conf
;
struct
foo
{
foo
(
const
Conf
&
conf
)
:
x
{
conf
}
{}
// { dg-bogus "type qualifiers ignored on cast result type" }
const
Conf
x
;
};