URL:
https://svn.lrde.epita.fr/svn/scool/branches/scool-ng
ChangeLog:
2008-10-08 Maxime van Noppen <yabo(a)lrde.epita.fr>
Add reference files for tests on class predeclarations
* class/c++_ast/declaration_001.aterm: New.
* class/c++_ast/declaration_002.aterm: New.
* class/c++_src/declaration_001.cc: New.
* class/c++_src/declaration_002.cc: New.
* class/scool_ast/declaration_001.aterm: .
* class/scool_ast/declaration_002.aterm: New.
c++_ast/declaration_001.aterm | 1 +
c++_ast/declaration_002.aterm | 1 +
c++_src/declaration_001.cc | 2 ++
c++_src/declaration_002.cc | 2 ++
scool_ast/declaration_001.aterm | 2 +-
scool_ast/declaration_002.aterm | 1 +
6 files changed, 8 insertions(+), 1 deletion(-)
Index: branches/scool-ng/tests/class/c++_ast/declaration_001.aterm
===================================================================
--- branches/scool-ng/tests/class/c++_ast/declaration_001.aterm (revision 0)
+++ branches/scool-ng/tests/class/c++_ast/declaration_001.aterm (revision 113)
@@ -0,0 +1 @@
+CxxProgram([CxxClassDecl([(CxxType("typename"),"Exact")],CxxId("Foo"),[])])
Index: branches/scool-ng/tests/class/c++_ast/declaration_002.aterm
===================================================================
--- branches/scool-ng/tests/class/c++_ast/declaration_002.aterm (revision 0)
+++ branches/scool-ng/tests/class/c++_ast/declaration_002.aterm (revision 113)
@@ -0,0 +1 @@
+CxxProgram([CxxClassDecl([(CxxType("typename"),"Exact")],CxxId("Foo"),[("public",CxxType(CxxId("Bar"),[CxxId("Exact")]))])])
Index: branches/scool-ng/tests/class/c++_src/declaration_001.cc
===================================================================
--- branches/scool-ng/tests/class/c++_src/declaration_001.cc (revision 0)
+++ branches/scool-ng/tests/class/c++_src/declaration_001.cc (revision 113)
@@ -0,0 +1,2 @@
+template < typename Exact >
+class Foo;
Index: branches/scool-ng/tests/class/c++_src/declaration_002.cc
===================================================================
--- branches/scool-ng/tests/class/c++_src/declaration_002.cc (revision 0)
+++ branches/scool-ng/tests/class/c++_src/declaration_002.cc (revision 113)
@@ -0,0 +1,2 @@
+template < typename Exact >
+class Foo: public Bar< Exact >;
Index: branches/scool-ng/tests/class/scool_ast/declaration_001.aterm
===================================================================
--- branches/scool-ng/tests/class/scool_ast/declaration_001.aterm (revision 112)
+++ branches/scool-ng/tests/class/scool_ast/declaration_001.aterm (revision 113)
@@ -1 +1 @@
-Program([ClassDeclaration(None,Identifier("Foo"))])
+Program([ClassDeclaration(None,Identifier("Foo"),None)])
Index: branches/scool-ng/tests/class/scool_ast/declaration_002.aterm
===================================================================
--- branches/scool-ng/tests/class/scool_ast/declaration_002.aterm (revision 0)
+++ branches/scool-ng/tests/class/scool_ast/declaration_002.aterm (revision 113)
@@ -0,0 +1 @@
+Program([ClassDeclaration(None,Identifier("Foo"),Some(ClassWhereClause([Inherits("Foo",SimpleType("Bar"))])))])
--
\__/ \__/
(00) Maxime `yabo` van Noppen (00)
___) \ Epita 2009 / (___
(_____/ \_____)