repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr83919.C
blob
a612f0261914ad5fc9173d7a01aa55789a7a5c75
1
// PR c++/83919
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wignored-qualifiers" }
4
5
enum class Conf;
6
struct foo
7
{
8
foo (const Conf& conf) : x{conf} {} // { dg-bogus "type qualifiers ignored on cast result type" }
9
const Conf x;
10
};