summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.martin/typedef1.C
blob: 990c0bb6c5dca548e9042f83c283df1c6bd26be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }

// 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;
}