summary refs log tree commit diff stats
path: root/tests/concepts/t1128.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/concepts/t1128.nim')
-rw-r--r--tests/concepts/t1128.nim21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/concepts/t1128.nim b/tests/concepts/t1128.nim
deleted file mode 100644
index 69a2fa9b7..000000000
--- a/tests/concepts/t1128.nim
+++ /dev/null
@@ -1,21 +0,0 @@
-discard """
-  output: "true\ntrue"
-"""
-
-type
-  TFooContainer[T] = object
-
-  TContainer[T] = concept var c
-    foo(c, T)
-
-proc foo[T](c: var TFooContainer[T], val: T) =
-  discard
-
-proc bar(c: var TContainer) =
-  discard
-
-var fooContainer: TFooContainer[int]
-echo fooContainer is TFooContainer # true.
-echo fooContainer is TFooContainer[int] # true.
-fooContainer.bar()
-