1 /*
2  * TEST_OUTPUT:
3 ---
4 fail_compilation/test16195.d(13): Error: delete p is not @safe but is used in @safe function test
5 ---
6  */
7 
8 
9 // https://issues.dlang.org/show_bug.cgi?id=16195
10 
test(int * p)11 @safe pure nothrow @nogc void test(int* p)
12 {
13     delete p;
14 }
15