We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2920193 commit d0cf2c7Copy full SHA for d0cf2c7
compiler/test/fail_compilation/fix21165.d
@@ -1,10 +1,30 @@
1
/*
2
TEST_OUTPUT:
3
---
4
-fail_compilation/fix21165.d(9): Error: undefined identifier `foo`
+fail_compilation/fix21165.d(12): Error: undefined identifier `foo`
5
+fail_compilation/fix21165.d(16): Error: undefined identifier `foo`
6
+fail_compilation/fix21165.d(21): Error: undefined identifier `foo`
7
+fail_compilation/fix21165.d(30): Error: undefined identifier `foo`
8
9
*/
10
11
// Test case from Issue #21165
12
foo
13
f() {}
14
+
15
+// Test case from Issue #21171
16
+foo
17
+bar;
18
19
+// Test case from Issue #21169
20
+void fun(
21
+ foo x
22
+) {}
23
24
+// Test case from Issue #21168
25
+enum plusOne(int x) = x + 1;
26
27
+alias fooPlusOne =
28
+ plusOne
29
+ !
30
+ foo;
0 commit comments