Add c++17 nested namespaces runtime test for C#
This commit is contained in:
parent
c8f5f3a6d1
commit
5c39dcfb28
1 changed files with 25 additions and 0 deletions
25
Examples/test-suite/csharp/cpp17_nested_namespaces_runme.cs
Normal file
25
Examples/test-suite/csharp/cpp17_nested_namespaces_runme.cs
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
using System;
|
||||||
|
using cpp17_nested_namespacesNamespace;
|
||||||
|
|
||||||
|
public class cpp17_nested_namespaces_runme
|
||||||
|
{
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
new A1Struct().A1Method();
|
||||||
|
new B1Struct().B1Method();
|
||||||
|
new C1Struct().C1Method();
|
||||||
|
cpp17_nested_namespaces.createA1Struct().A1Method();
|
||||||
|
cpp17_nested_namespaces.createB1Struct().B1Method();
|
||||||
|
cpp17_nested_namespaces.createC1Struct().C1Method();
|
||||||
|
|
||||||
|
new B2Struct().B2Method();
|
||||||
|
new C2Struct().C2Method();
|
||||||
|
cpp17_nested_namespaces.createB2Struct().B2Method();
|
||||||
|
cpp17_nested_namespaces.createC2Struct().C2Method();
|
||||||
|
|
||||||
|
new B3Struct().B3Method();
|
||||||
|
new C3Struct().C3Method();
|
||||||
|
cpp17_nested_namespaces.createB3Struct().B3Method();
|
||||||
|
cpp17_nested_namespaces.createC3Struct().C3Method();
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue