dmd/compiler/test/fail_compilation/test16694.d
2022-07-09 18:53:07 +02:00

8 lines
167 B
D

/*
TEST_OUTPUT:
---
fail_compilation/test16694.d(8): Error: cannot take address of imported symbol `bar` at compile time
---
*/
export void bar();
auto barptr = &bar;