Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2012-05-16 20:47:44 -0400
committerSergey Prigogin2012-05-16 20:47:44 -0400
commitd8fa087eec6cb93dee967b11a8390fd8bf9593f6 (patch)
tree9fa2dab443f321788e9e834e778c75c5872ec7dd /core/org.eclipse.cdt.core.tests
parent68c99e9441b514dbc3ec714d600fd3da6df7f5a8 (diff)
downloadorg.eclipse.cdt-d8fa087eec6cb93dee967b11a8390fd8bf9593f6.tar.gz
org.eclipse.cdt-d8fa087eec6cb93dee967b11a8390fd8bf9593f6.tar.xz
org.eclipse.cdt-d8fa087eec6cb93dee967b11a8390fd8bf9593f6.zip
Bug 363234. Support for thread_local storage class specifier.
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/AST2CPPSpecTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
index f85e9075df..c64e96b306 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
@@ -1077,6 +1077,13 @@ public class AST2CPPSpecTest extends AST2SpecBaseTest {
parse(getAboveComment(), ParserLanguage.CPP, true, 0);
}
+ // thread_local int e;
+ // static thread_local int f;
+ // extern thread_local int g;
+ public void test7_1_1s1() throws Exception {
+ parse(getAboveComment(), ParserLanguage.CPP, true, 0);
+ }
+
// static char* f(); // f() has internal linkage
// char* f() // f() still has internal linkage
// { //

Back to the top