1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed Bug 78800 [Semantics] User define operators not handled

Committed test case.
This commit is contained in:
John Camelon 2005-07-12 19:44:08 +00:00
parent 3728db47b4
commit 4dc6e1fdc6

View file

@ -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$
}
}