mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 23:59:58 +08:00
using5.C: New test; using decl from base class should be usable as argument of member function
* g++.old-deja/g++.other/using5.C: New test; using decl from base class should be usable as argument of member function * g++.old-deja/g++.other/using6.C: New test; using decl from base class should be usable as return type of member function * g++.old-deja/g++.other/using7.C: New test; using decl from base class should be usable as type of data member From-SVN: r22970
This commit is contained in:
parent
827204e706
commit
2feb9724a1
@ -1,5 +1,12 @@
|
||||
1998-10-10 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* g++.old-deja/g++.other/using5.C: New test; using decl from base
|
||||
class should be usable as argument of member function
|
||||
* g++.old-deja/g++.other/using6.C: New test; using decl from base
|
||||
class should be usable as return type of member function
|
||||
* g++.old-deja/g++.other/using7.C: New test; using decl from base
|
||||
class should be usable as type of data member
|
||||
|
||||
* g++.old-deja/g++.ns/extern1.C: fix XFAIL mark
|
||||
|
||||
Fri Oct 9 19:19:19 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
15
gcc/testsuite/g++.old-deja/g++.other/using5.C
Normal file
15
gcc/testsuite/g++.old-deja/g++.other/using5.C
Normal file
@ -0,0 +1,15 @@
|
||||
// Build don't link:
|
||||
|
||||
// Based on bug report by Klaus-Georg Adams
|
||||
// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
|
||||
|
||||
// crash test - XFAIL *-*-*
|
||||
|
||||
struct bar {
|
||||
typedef bar t;
|
||||
};
|
||||
|
||||
struct foo : bar {
|
||||
using bar::t;
|
||||
void baz(t pos);
|
||||
};
|
13
gcc/testsuite/g++.old-deja/g++.other/using6.C
Normal file
13
gcc/testsuite/g++.old-deja/g++.other/using6.C
Normal file
@ -0,0 +1,13 @@
|
||||
// Build don't link:
|
||||
|
||||
// Based on bug report by Klaus-Georg Adams
|
||||
// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
|
||||
|
||||
struct bar {
|
||||
typedef bar t;
|
||||
};
|
||||
|
||||
struct foo : bar {
|
||||
using bar::t;
|
||||
t baz(); // syntax error?!? - XFAIL *-*-*
|
||||
};
|
13
gcc/testsuite/g++.old-deja/g++.other/using7.C
Normal file
13
gcc/testsuite/g++.old-deja/g++.other/using7.C
Normal file
@ -0,0 +1,13 @@
|
||||
// Build don't link:
|
||||
|
||||
// Based on bug report by Klaus-Georg Adams
|
||||
// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
|
||||
|
||||
struct bar {
|
||||
typedef bar t;
|
||||
};
|
||||
|
||||
struct foo : bar {
|
||||
using bar::t;
|
||||
t baz; // syntax error?!? - XFAIL *-*-*
|
||||
};
|
Loading…
Reference in New Issue
Block a user