blob: 6c6a738e07e2b06d3b49254e74e0348d3f288e18 [file] [log] [blame]
// PR c++/61753
class Rulec {
Rulec();
};
const Rulec::Rulec() { } // { dg-error "1:qualifiers" }
class Rulev {
Rulev();
};
volatile Rulev::Rulev() { } // { dg-error "1:qualifiers" }
class Ruler {
Ruler();
};
__restrict Ruler::Ruler() { } // { dg-error "1:qualifiers" }
class Rulecvr {
Rulecvr();
};
const volatile __restrict Rulecvr::Rulecvr() { } // { dg-error "1:qualifiers" }
class Rulervc {
Rulervc();
};
__restrict volatile const Rulervc::Rulervc() { } // { dg-error "1:qualifiers" }