aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/csharp/nested_in_template_runme.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/csharp/nested_in_template_runme.cs')
-rw-r--r--Examples/test-suite/csharp/nested_in_template_runme.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/test-suite/csharp/nested_in_template_runme.cs b/Examples/test-suite/csharp/nested_in_template_runme.cs
new file mode 100644
index 000000000..e57e03999
--- /dev/null
+++ b/Examples/test-suite/csharp/nested_in_template_runme.cs
@@ -0,0 +1,10 @@
+using System;
+using nested_in_templateNamespace;
+
+public class runme {
+ static void Main() {
+ var cd = new OuterTemplate1.ConcreteDerived(88);
+ if (cd.m_value != 88)
+ throw new Exception("ConcreteDerived not created correctly");
+ }
+}