summaryrefslogtreecommitdiffstats
path: root/src/test/ui/inlined-main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/inlined-main.rs')
-rw-r--r--src/test/ui/inlined-main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/inlined-main.rs b/src/test/ui/inlined-main.rs
new file mode 100644
index 000000000..75ff4c87d
--- /dev/null
+++ b/src/test/ui/inlined-main.rs
@@ -0,0 +1,4 @@
+// run-pass
+
+#[inline(always)]
+fn main() {}