We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b5102 commit 58da202Copy full SHA for 58da202
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 90c240208985aff48c8bf09574c0cb1d79868593
+refs/heads/master: b04f84275a8f6229ffeeb046251dafa7cf309c6f
trunk/src/test/run-pass/fn-bare-size.rs
@@ -0,0 +1,9 @@
+// xfail-test
+
3
+use std;
4
5
+fn main() {
6
+ // Bare functions should just be a pointer
7
+ assert std::sys::rustrt::size_of::<fn#()>() ==
8
+ std::sys::rustrt::size_of::<int>();
9
+}
0 commit comments