* g++.dg/parse/parens2.C: New test.

From-SVN: r60744
This commit is contained in:
Nathanael Nerode 2003-01-01 14:30:43 +00:00
parent c6df507e88
commit f06fed4ab1
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2003-01-01 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/parse/parens2.C: New test.
* g++.dg/lookup/scope-operator1.C: New test.
* g++.dg/parse/operator1.C: New test.

View File

@ -0,0 +1,9 @@
/* PR c++/3406 */
/* { dg-do compile } */
int main()
{
// The parentheses around the expression caused parse errors before 3.4.
( int() > int() );
return 0;
}