// https://issues.dlang.org/show_bug.cgi?id=23159 // REQUIRED_ARGS: -betterC /* TEST_OUTPUT: --- fail_compilation/test23159.d(14): Error: `scope(failure)` cannot be used with -betterC fail_compilation/test23159.d(18): Error: `scope(success)` cannot be used with -betterC --- */ void main() { scope(failure) { int a; } scope(success) { int a; } }