summaryrefslogtreecommitdiff
path: root/tests/test/tgenconst28.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/tgenconst28.pp')
-rw-r--r--tests/test/tgenconst28.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test/tgenconst28.pp b/tests/test/tgenconst28.pp
new file mode 100644
index 0000000000..56bb48f987
--- /dev/null
+++ b/tests/test/tgenconst28.pp
@@ -0,0 +1,17 @@
+{ %FAIL }
+
+unit tgenconst28;
+
+{$mode delphi}
+
+interface
+
+procedure Test<const A: LongInt>;
+
+implementation
+
+procedure Test<const A: LongInt>;
+begin
+end;
+
+end.