Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2012-04-26 05:55:34 -0400
committerMarkus Schorn2012-04-26 05:55:34 -0400
commitff6444f9b8306ca65ebb97de02ace35a2ff69e6c (patch)
tree15ed060c3a669bdf5cd24f1a416a19172def8f93 /core/org.eclipse.cdt.core.tests
parent755d3975a6c0c4610667db2849f31e1102c5b3e4 (diff)
downloadorg.eclipse.cdt-ff6444f9b8306ca65ebb97de02ace35a2ff69e6c.tar.gz
org.eclipse.cdt-ff6444f9b8306ca65ebb97de02ace35a2ff69e6c.tar.xz
org.eclipse.cdt-ff6444f9b8306ca65ebb97de02ace35a2ff69e6c.zip
Bug 377457: Name resolution for exception specification.
Diffstat (limited to 'core/org.eclipse.cdt.core.tests')
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.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/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java
index 2b808fa58a..14929e23c7 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
@@ -9600,4 +9600,13 @@ public class AST2CPPTests extends AST2BaseTest {
public void testParentScopeOfCatchHandler_376246() throws Exception {
parseAndCheckBindings();
}
+
+ // struct MyClass {
+ // struct MyException {};
+ // void doSomething() throw(MyException);
+ // };
+ // void MyClass::doSomething() throw (MyException) {}
+ public void testScopeOfExceptionSpecification_377457() throws Exception {
+ parseAndCheckBindings();
+ }
}

Back to the top