1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/fail6497.d(12): Error: cannot take address of local `n` in `@safe` function `main` 5 fail_compilation/fail6497.d(12): Error: cannot take address of local `n` in `@safe` function `main` 6 --- 7 */ 8 main()9void main() @safe 10 { 11 int n; 12 auto b = &(0 ? n : n); 13 } 14