Commit fe85cc45 authored by gourne_o's avatar gourne_o
Browse files

from Olivier Gournet <gourne_o@lrde.epita.fr>

	* test/disambiguate/class-10.detcc,
	* test/disambiguate/template-14.detcc,
	* test/disambiguate/class-09.cc,
	* test/disambiguate/array-01.cc,
	* test/disambiguate/inherit-10.cc,
	* test/disambiguate/class-10.cc,
	* test/disambiguate/class-08.detcc,
	* test/disambiguate/class-07.cc,
	* test/disambiguate/array-01.detcc,
	* test/disambiguate/Makefile.am,
	* test/disambiguate/class-07.detcc,
	* test/disambiguate/template-14.cc,
	* test/disambiguate/class-08.cc,
	* test/disambiguate/simple-decl-03.detcc,
	* test/disambiguate/simple-decl-03.cc,
	* test/disambiguate/template-15.detcc,
	* test/disambiguate/template-15.cc,
	* test/disambiguate/inherit-10.detcc,
	* test/disambiguate/class-09.detcc: Add tests.

2004-05-11  Olivier Gournet  <gourne_o@lrde.epita.fr>
parent ead69d09
2004-05-11 Olivier Gournet <gourne_o@lrde.epita.fr>
* test/disambiguate/class-10.detcc,
* test/disambiguate/template-14.detcc,
* test/disambiguate/class-09.cc,
* test/disambiguate/array-01.cc,
* test/disambiguate/inherit-10.cc,
* test/disambiguate/class-10.cc,
* test/disambiguate/class-08.detcc,
* test/disambiguate/class-07.cc,
* test/disambiguate/array-01.detcc,
* test/disambiguate/Makefile.am,
* test/disambiguate/class-07.detcc,
* test/disambiguate/template-14.cc,
* test/disambiguate/class-08.cc,
* test/disambiguate/simple-decl-03.detcc,
* test/disambiguate/simple-decl-03.cc,
* test/disambiguate/template-15.detcc,
* test/disambiguate/template-15.cc,
* test/disambiguate/inherit-10.detcc,
* test/disambiguate/class-09.detcc: Add tests.
2004-05-11 Olivier Gournet <gourne_o@lrde.epita.fr>
* src/parser/ParsePPDirective.str: Fix cpp call with standart
......
......@@ -89,7 +89,16 @@ TESTS = \
variable-01
XFAIL_TESTS = \
array-01 \
class-07 \
class-08 \
class-09 \
class-10 \
inherit-10 \
namespace-10 \
template-13
simple-decl-03 \
template-13 \
template-14 \
template-15
EXTRA_DIST = test $(TESTS:=.cc) $(TESTS:=.detcc)
char a[2][4] = { "one", "two" };
char /*<uid>*/a/*</uid>*/[2][4] = { "one", "two" };
struct O {
struct I { virtual bool f() = 0; };
};
struct O {
struct I { virtual bool /*<uid>*/f/*</uid>*/() = 0; };
};
struct A
{
void operator << (int s) {}
void f() { return operator << (0); }
};
struct A
{
/*<funcdef>*/void operator << (int /*<uid>*/s/*</uid>*/) {}
/*</funcdef>*//*<funcdef>*/void /*<uid>*/f/*</uid>*/(0) { return /*<expr>*/operator << ()/*</expr>*/; }
/*</funcdef>*/};
struct A {};
struct B {
B(int, const A&);
};
B t(1, A());
struct A {};
struct B {
/*<cl>*/B/*</cl>*/(int, const /*<cl>*/A/*</cl>*/&) ;
};
/*<cl>*/B/*</cl>*/ /*<uid>*/t/*</uid>*/(1, /*<cl>*/A/*</cl>*/ ());
class a {};
class c : a { c() : a() {} };
class a {};
class c : /*<cl>*/a/*</cl>*/ { /*<funcdef>*//*<cl>*/c/*</cl>*/() : /*<cl>*/a/*</cl>*/(/*<cl>*/a/*</cl>*/ ()) {} /*</funcdef>*/};
struct A
{
void f();
};
struct C : public A
{
void g() { f(); };
};
struct A
{
void /*<uid>*/f/*</uid>*/() ;
};
struct C : public A
{
/*<funcdef>*/void /*<uid>*/g/*</uid>*/() { /*<uid>*/f/*</uid>*/(); };/*</funcdef>*/
};
int /*<uid>*/f/*</uid>*/();
int /*<uid>*/a/*</uid>*/ = /*<uid>*/f/*</uid>*/ ();
// struct A {};
// template <typename, typename> struct B {};
// typedef B <int, int> C;
struct A {};
template <typename> struct B {};
typedef B <int> C;
struct A {};
template <typename, typename> struct B {};
typedef /*<cl>*/B < int, int >/*</cl>*/ /*<uid>*/C/*</uid>*/;
template <class T> struct a {};
struct b : a<int> {};
template </*<tp>*/class T/*</tp>*/> struct a {};
struct b : /*<cl>*/a < int >/*</cl>*/ {};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment