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
This commit is contained in:
Andrew Pinski 2003-08-08 19:54:14 +00:00 committed by Andrew Pinski
parent df38ffef8c
commit bb6e41689c
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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>
* lib/gcc-dg.exp: Update for diagnostic change.

View File

@ -20,7 +20,7 @@ struct B
struct 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>
@ -30,5 +30,5 @@ struct C
};
int main()
{
typedef B<C>::Template<void>::Type Type; { dg-error "init-declarator|;" }
typedef B<C>::Template<void>::Type Type; // { dg-error "init-declarator|;" }
}