Testsuite: fix analyzer tests on Darwin
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / scope_type.d
blobe0550138b7e4642ed2e8d3cfe395de52163fddc2
1 /*
2 REQUIRED_ARGS: -de
3 TEST_OUTPUT:
4 ---
5 fail_compilation/scope_type.d(13): Deprecation: `scope` as a type constraint is deprecated. Use `scope` at the usage site.
6 fail_compilation/scope_type.d(14): Error: `scope` as a type constraint is obsolete. Use `scope` at the usage site.
7 fail_compilation/scope_type.d(15): Deprecation: `scope` as a type constraint is deprecated. Use `scope` at the usage site.
8 fail_compilation/scope_type.d(16): Deprecation: `scope` as a type constraint is deprecated. Use `scope` at the usage site.
9 ---
13 scope class C { }
14 scope interface I { }
15 scope struct S { }
16 scope enum E { e }