summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/arm2.C
blob: 23284b0a6305e895acb98a8e868ec4c057e565a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }
// GROUPS passed ARM-compliance
// arm file
// Message-Id: <199301260140.AA13734@world.std.com>
// From: gparker@world.std.com (Glenn P Parker)
// Subject: gcc bug
// Date: Mon, 25 Jan 1993 20:40:44 -0500

int f() {  return 1; }

int main()
{
  int (&fr)() = f;

  return 0;
}