aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1998-11-25 18:29:12 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1998-11-25 18:29:12 +0000
commit51a6311276be2a14986ab83d8de0937683684fff (patch)
tree095885530db68b34a784b2e9e3094f04a7cfa372 /gcc
parent2e3e9ead11e1201c4581bb318d87917bca744949 (diff)
downloadgcc-51a6311276be2a14986ab83d8de0937683684fff.zip
gcc-51a6311276be2a14986ab83d8de0937683684fff.tar.gz
gcc-51a6311276be2a14986ab83d8de0937683684fff.tar.bz2
lookup5.C: New test.
* g++.old-deja/g++.other/lookup5.C: New test. Not sure the problem is actually related with name lookup, but so what? :-) From-SVN: r23877
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/lookup5.C9
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bed4a4c..07fce72 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
1998-11-26 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * g++.old-deja/g++.other/lookup5.C: New test. Not sure the
+ problem is actually related with name lookup, but so what? :-)
+
* g++.old-deja/g++.pt/friend37.C: New test.
1998-11-25 Dave Love <d.love@dl.ac.uk>
diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup5.C b/gcc/testsuite/g++.old-deja/g++.other/lookup5.C
new file mode 100644
index 0000000..3924dcb
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/lookup5.C
@@ -0,0 +1,9 @@
+// Build don't link:
+// Simplified from bug report by Paris Smaragdis <paris@media.mit.edu>
+
+template <class T> class vector {};
+class foo {};
+int main() {
+ foo f;
+ f.vector(); // gets bogus error - ICE - XFAIL *-*-*
+}