2 // GROUPS passed conversions
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
12 class Line_Segment{ public: Line_Segment(const Point&){} };
13 class Node { public: Point Location(){ Point p; return p; } };
18 Line_Segment(node1->Location()); // intended (*node1)// { dg-error "" } .*