From baa5df30bbd1f2bca85e28f30aa5de27dcd1d7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 31 Mar 1999 06:08:41 +0000 Subject: New test case suggested by Nathan Sidwell From-SVN: r26078 --- gcc/testsuite/g++.old-deja/g++.martin/typedef1.C | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.martin/typedef1.C (limited to 'gcc/testsuite/g++.old-deja/g++.martin') diff --git a/gcc/testsuite/g++.old-deja/g++.martin/typedef1.C b/gcc/testsuite/g++.old-deja/g++.martin/typedef1.C new file mode 100644 index 00000000000..b1561f21da5 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.martin/typedef1.C @@ -0,0 +1,14 @@ +// Build don't link: + +// Copyright (C) 1999 Free Software Foundation, Inc. +// Contributed by Nathan Sidwell 31 Mar 1999 + +// Make sure we see through typedefs. + +typedef int Int; + +void fn() +{ + int *p; + Int *&pr2 = p; +} -- cgit v1.2.1