New test case suggested by Nathan Sidwell <nathan@acm.org>
From-SVN: r26078
This commit is contained in:
parent
d1c7c49566
commit
baa5df30bb
14
gcc/testsuite/g++.old-deja/g++.martin/typedef1.C
Normal file
14
gcc/testsuite/g++.old-deja/g++.martin/typedef1.C
Normal file
@ -0,0 +1,14 @@
|
||||
// Build don't link:
|
||||
|
||||
// Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
// Contributed by Nathan Sidwell 31 Mar 1999 <nathan@acm.org>
|
||||
|
||||
// Make sure we see through typedefs.
|
||||
|
||||
typedef int Int;
|
||||
|
||||
void fn()
|
||||
{
|
||||
int *p;
|
||||
Int *&pr2 = p;
|
||||
}
|
Loading…
Reference in New Issue
Block a user