mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 18:49:43 +08:00
* g++.dg/parse/parens2.C: New test.
From-SVN: r60744
This commit is contained in:
parent
c6df507e88
commit
f06fed4ab1
@ -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.
|
||||
|
9
gcc/testsuite/g++.dg/parse/parens2.C
Normal file
9
gcc/testsuite/g++.dg/parse/parens2.C
Normal 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user