blob: deb0cb7b69dfa47b9917c9d62f3505f81bff3743 [file] [log] [blame]
// { dg-options "-fdiagnostics-show-caret" }
template<class T>
class a {} // { dg-error "11: expected .;. after class definition" }
class temp {};
a<temp> b;
struct b {
} // { dg-error "2: expected .;. after struct definition" }
/* Verify that we emit fixit hints. */
/* { dg-begin-multiline-output "" }
class a {}
^
;
{ dg-end-multiline-output "" } */
/* { dg-begin-multiline-output "" }
}
^
;
{ dg-end-multiline-output "" } */