1 /*
2 PERMUTE_ARGS:
3 REQUIRED_ARGS: -verrors=spec
4 TEST_OUTPUT:
5 ---
6 (spec:1) compilable/verrors_spec.d(13): Error: cannot implicitly convert expression `& i` of type `int*` to `int`
7 ---
8 */
9 
foo(int i)10 void foo(int i)
11 {
12     int p;
13     bool b = __traits(compiles, {p = &i;});
14 }
15