aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/parse-okay-inherits.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/parse-okay-inherits.nix')
-rw-r--r--test/testdata/parse-okay-inherits.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/testdata/parse-okay-inherits.nix b/test/testdata/parse-okay-inherits.nix
new file mode 100644
index 0000000..10596c8
--- /dev/null
+++ b/test/testdata/parse-okay-inherits.nix
@@ -0,0 +1,9 @@
1let
2 c = {};
3 b = 2;
4in {
5 a = 1;
6 inherit b;
7 inherit (c) d e;
8 f = 3;
9}