1 // { dg-do assemble } 2 // GROUPS passed nest 3 // nest file 4 // From: gs4t@virginia.edu (Gnanasekaran Swaminathan) 5 // Date: Wed, 30 Dec 1992 20:38:07 GMT 6 // Subject: Local type names bug in g++ 2.3.3 7 // Message-ID: <1992Dec30.203807.17504@murdoch.acc.Virginia.EDU> 8 9 typedef char* T; // { dg-message "declared here" } 10 11 struct Y { 12 T a; 13 typedef long T; // { dg-error "changes meaning" } 14 T b; 15 }; 16