1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Test case for bug 284690.

This commit is contained in:
Sergey Prigogin 2009-07-26 23:35:06 +00:00
parent a3c171f7e4
commit 14e6048592

View file

@ -7286,4 +7286,16 @@ public class AST2CPPTests extends AST2BaseTest {
final long time = System.currentTimeMillis() - now;
assertTrue("Lasted " + time + "ms", time < 5000);
}
// class A {
// friend inline void m(A p1, A p2) {}
// };
//
// void test(A a1, A a2) {
// m(a1, a2); // problem on m
// }
public void _testInlineFriendFunction_284690() throws Exception {
final String code = getAboveComment();
parseAndCheckBindings(code, ParserLanguage.CPP);
}
}