From 4dc6e1fdc69c7e3ac30823423ce9fbe4948d2e4a Mon Sep 17 00:00:00 2001 From: John Camelon Date: Tue, 12 Jul 2005 19:44:08 +0000 Subject: [PATCH] Fixed Bug 78800 [Semantics] User define operators not handled Committed test case. --- .../eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java index bca87a34c4d..783b45a9a81 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java @@ -4976,8 +4976,8 @@ public class AST2CPPTests extends AST2BaseTest { parseAndCheckBindings( "static var;"); //$NON-NLS-1$ } -// public void testBug78800() throws Exception { -// parseAndCheckBindings( "class Matrix { public: Matrix & operator *(Matrix &); }; Matrix transform = rotate * translate;" ); //$NON-NLS-1$ -// } + public void testBug78800() throws Exception { + parseAndCheckBindings( "class Matrix { public: Matrix & operator *(Matrix &); }; Matrix rotate, translate; Matrix transform = rotate * translate;" ); //$NON-NLS-1$ + } }