diff options
author | Alexandre Oliva <oliva@lsd.ic.unicamp.br> | 1999-11-11 14:39:01 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1999-11-11 14:39:01 +0000 |
commit | f185457abf8902bc01032208a56c13cd2c79d40b (patch) | |
tree | dade167ed5cefe131075f6a7480d574cc1674b3a | |
parent | 7467c975b3b98bd471bc375a2722dc81acc24931 (diff) | |
download | gcc-f185457abf8902bc01032208a56c13cd2c79d40b.zip gcc-f185457abf8902bc01032208a56c13cd2c79d40b.tar.gz gcc-f185457abf8902bc01032208a56c13cd2c79d40b.tar.bz2 |
* template9.C: New test.
From-SVN: r30489
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/template9.C | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog index 4ab874d..f19eeb0 100644 --- a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog +++ b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog @@ -1,3 +1,7 @@ +1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * template9.C: New test. + 1999-09-18 Alexandre Oliva <oliva@lsd.ic.unicamp.br> * overload1.C: New test. diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template9.C b/gcc/testsuite/g++.old-deja/g++.oliva/template9.C new file mode 100644 index 0000000..fc2df3e --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.oliva/template9.C @@ -0,0 +1,11 @@ +// Build don't link: + +// Copyright (C) 1999 Free Software Foundation + +// by Alexandre Oliva <oliva@lsd.ic.unicamp.br> +// based on bug report by Philippe Bouchard <boucp00@DMI.USherb.CA> + +struct foo { + template <class> + void bar() = 0; // ERROR - invalid initializer - XFAIL *-*-* +}; |