Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2011-10-06 08:09:36 +0000
committerMarkus Schorn2011-10-06 08:09:36 +0000
commitc88a6117fda52879617c1d7cb5a021bb33346378 (patch)
tree32f7cb36ae3680ac87b5d25a1c36e90e1a749e86
parentd722e5a8f615e0368a3aa35c2d4fcbefb8bbebeb (diff)
downloadorg.eclipse.cdt-c88a6117fda52879617c1d7cb5a021bb33346378.tar.gz
org.eclipse.cdt-c88a6117fda52879617c1d7cb5a021bb33346378.tar.xz
org.eclipse.cdt-c88a6117fda52879617c1d7cb5a021bb33346378.zip
Bug 358654: Added testcase.
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java
index 9f018116ef0..c8275caaec7 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java
@@ -5529,4 +5529,13 @@ public class AST2TemplateTests extends AST2BaseTest {
public void testReferenceToParameterOfTemplateTemplateParameter_357308() throws Exception {
parseAndCheckBindings();
}
+
+ // template <typename...> void f() {}
+ // void test() {
+ // f();
+ // f<>();
+ // }
+ public void testInstantiationWithoutParameters_358654() throws Exception {
+ parseAndCheckBindings();
+ }
}

Back to the top