diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-09 00:29:22 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-09 00:29:22 +0000 |
commit | 9f9b198334f85a4345df8951943a8f2c60159fdf (patch) | |
tree | 01872c170ff9420443e397bce240a82f08c6e92e /gcc/testsuite | |
parent | dbb24c562af9d48b9145d7e0dbb541ed39a8db09 (diff) | |
download | gcc-9f9b198334f85a4345df8951943a8f2c60159fdf.tar.gz |
* decl.c (layout_var_decl): Change prototype. Don't complete
types for external objects.
(check_initializer): Likewise. Tidy.
(initialize_local_var): Complete types here.
(cp_finish_decl): Not here. Reorganize a little.
(grokvardecl): Don't complete types here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29220 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/poi1.C | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/poi1.C b/gcc/testsuite/g++.old-deja/g++.pt/poi1.C new file mode 100644 index 00000000000..6adf580e2a4 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/poi1.C @@ -0,0 +1,15 @@ +// Build don't link: +// Origin: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> + +template <class T> +class TLITERAL : public T + { + int x; + }; + +class GATOM; + +typedef TLITERAL<GATOM> x; +extern TLITERAL<GATOM> y; + + |