1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice14185.d(12): Error: cannot implicitly convert expression `this` of type `Mutexed` to `Mutexed*`
5 ---
6 */
7 
8 struct Mutexed
9 {
acquireMutexed10 	auto acquire ()
11 	{
12 		return Lock (this);
13 	}
14 	alias acquire this;
15 
16 	struct Lock
17 	{
18 		Mutexed* source;
19 	}
20 }
21 void main ()
22 {
23 	Mutexed x;
24 }
25