← dlang

autoAndtypeof.d

8ea951e20ba9a905c76005a88c53acd1ebbac793 · ovidiucs · Sep 6, 2015 22:40

+9 · 1 file changed

  • autoAndtypeof.d +9 −0
diff --git a/autoAndtypeof.d b/autoAndtypeof.d
new file mode 100644
index 0000000..44ccf65
--- /dev/null
+++ b/autoAndtypeof.d
@@ -0,0 +1,9 @@
+import std.stdio;
+
+void main()
+{
+   auto duration = 42;
+   auto distance = 1.2;
+   auto greeting = "Hello";
+   auto phoneNumber = 07645847415;
+}