1 // PR c++/43509
2 // { dg-do compile { target c++11 } }
3 
4 typedef int B;			// { dg-message "" }
B()5 B::B() { return 0; }		// { dg-error "" }
6