Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.law / cvt17.C
blob7567da2ebf104ede40ebbc763627bbb3ce3d1e0b
1 // { dg-do assemble  }
2 // GROUPS passed conversions
3 // cvt file
4 // Message-Id: <9305210124.AA02409@kato.cs.brown.edu>
5 // From: pcm@cs.brown.edu (Peter C. McCluskey)
6 // Subject: illegal code compiles silently
7 // Date: Thu, 20 May 93 21:24:22 -0400
11 class Point {};
12 class Line_Segment{ public: Line_Segment(const Point&){} };
13 class Node { public: Point Location(){ Point p; return p; } };
15 int main()
17    Node** node1;
18    Line_Segment(node1->Location()); // intended (*node1)// { dg-error "" } .*