projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git]
/
mcs
/
tests
/
test-466.cs
diff --git
a/mcs/tests/test-466.cs
b/mcs/tests/test-466.cs
index 289e7002dab949ace5c71eab52cb4147cc7f6a66..94365cd1a013f87bbc1d65eef3d19ab9ae555ed6 100644
(file)
--- a/
mcs/tests/test-466.cs
+++ b/
mcs/tests/test-466.cs
@@
-1,16
+1,15
@@
-// Compiler options: -unsafe
-
-public unsafe struct B {
- private fixed int a[5];
-}
-
-public unsafe class C {
- private B x;
-
- public void Goo() {
- fixed(B* y=&x) {
+// Compiler options: -r:test-466-lib.dll
+
+namespace A.X
+{
+ using A.B;
+
+ class Test
+ {
+ public static void Main ()
+ {
+ C c = new C ();
+ c.Foo ();
}
}
- }
-
- public static void Main () {}
-}
+ }
+}
\ No newline at end of file