Commit bb6e4168 by Andrew Pinski Committed by Andrew Pinski

crash11.C: Put the dg options in comments.

2003-08-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/parse/crash11.C: Put the dg options in comments.

From-SVN: r70254
parent df38ffef
2003-08-08 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/parse/crash11.C: Put the dg options in comments.
2003-08-08 Neil Booth <neil@daikokuya.co.uk> 2003-08-08 Neil Booth <neil@daikokuya.co.uk>
* lib/gcc-dg.exp: Update for diagnostic change. * lib/gcc-dg.exp: Update for diagnostic change.
......
...@@ -20,7 +20,7 @@ struct B ...@@ -20,7 +20,7 @@ struct B
struct Template struct Template
{ {
typedef typename A<A<TP>::Template> typedef typename A<A<TP>::Template>
::template Template<T>::Type Type; { dg-error "mismatch|class template|unqualified-id" } ::template Template<T>::Type Type; // { dg-error "mismatch|class template|unqualified-id" }
}; };
}; };
template <typename T> template <typename T>
...@@ -30,5 +30,5 @@ struct C ...@@ -30,5 +30,5 @@ struct C
}; };
int main() int main()
{ {
typedef B<C>::Template<void>::Type Type; { dg-error "init-declarator|;" } typedef B<C>::Template<void>::Type Type; // { dg-error "init-declarator|;" }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment