summaryrefslogtreecommitdiff
path: root/Base/home/anon/Source/little/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home/anon/Source/little/main.cpp')
-rw-r--r--Base/home/anon/Source/little/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Base/home/anon/Source/little/main.cpp b/Base/home/anon/Source/little/main.cpp
index 2fa2d31126..55b8bed3c6 100644
--- a/Base/home/anon/Source/little/main.cpp
+++ b/Base/home/anon/Source/little/main.cpp
@@ -1,6 +1,6 @@
+#include "other.h"
#include <stdio.h>
#include <sys/stat.h>
-#include "other.h"
enum TestEnum {
ValueOne,
@@ -13,11 +13,17 @@ struct MyStruct {
TestEnum test_value { ValueOne };
};
+struct Container {
+ MyStruct inner;
+ int index;
+};
+
int main(int, char**)
{
MyStruct my_struct;
my_struct.status = !my_struct.status;
printf("my_struct.x is %d\n", my_struct.x);
+ Container container;
for (int i = 0; i < 3; ++i) {
// This is a comment :^)
func();