We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00e216a commit 2187d81Copy full SHA for 2187d81
intTests/test1985/test.saw
@@ -0,0 +1,12 @@
1
+// Test top level typedefs
2
+typedef Foo = Int;
3
+typedef Bar = Foo;
4
+let thing : Bar = 2;
5
+
6
+// Test local typedefs
7
+let local = do {
8
+ typedef LocalFoo = Bar;
9
+ typedef LocalBar = LocalFoo;
10
+ let local_thing : LocalBar = 3;
11
+ return ();
12
+};
intTests/test1985/test.sh
@@ -0,0 +1,3 @@
+set -e
+$SAW test.saw
0 commit comments