Commit 65ed8728 by Nathanael Nerode

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

From-SVN: r60741
parent c58b209a
2003-01-01 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/parse/operator1.C: New test.
2003-01-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.old-deja/g++.jason/ambig3.C: Remove XFAIL.
......
/* PR c++/8982 */
/* { dg-do compile } */
namespace foo {
template<class X>
int operator- (X x);
}
int main() {
using foo::operator-; // syntax error under gcc 3.2
}
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