diff options
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java')
-rw-r--r-- | core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java | 13 |
1 files changed, 13 insertions, 0 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 20c9fe2090f..814d5f52120 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 @@ -9801,6 +9801,19 @@ public class AST2CPPTests extends AST2TestBase { public void testFriendTemplateParameter() throws Exception { parseAndCheckBindings(); } + + // struct foo { + // foo(); + // ~foo(); + // }; + // + // class bar { + // friend foo::foo(); + // friend foo::~foo(); + // }; + public void testFriendConstructorDestructor_400940() throws Exception { + parseAndCheckBindings(); + } // struct S { // virtual void mFuncDecl() final; |