projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of https://github.com/mono/mono into issue4328
[mono.git]
/
mcs
/
tests
/
gtest-fixedbuffer-09.cs
diff --git
a/mcs/tests/gtest-fixedbuffer-09.cs
b/mcs/tests/gtest-fixedbuffer-09.cs
index d100ceaec953cbee8ca7dac534a00e7035611664..146157644251665e20dde610cfb2cb5e7d397fe8 100644
(file)
--- a/
mcs/tests/gtest-fixedbuffer-09.cs
+++ b/
mcs/tests/gtest-fixedbuffer-09.cs
@@
-18,6
+18,13
@@
class Test
if (fbas.Length != 32)
return 1;
+ var fixed_type = typeof (Foo).GetNestedTypes ()[0];
+ if (fixed_type.StructLayoutAttribute.Pack != 8)
+ return 2;
+
+ if (fixed_type.StructLayoutAttribute.Size != 256)
+ return 3;
+
return 0;
}
}