diff options
author | Nicolas Stucki <nicolas.stucki@gmail.com> | 2017-04-17 16:54:44 +0200 |
---|---|---|
committer | Nicolas Stucki <nicolas.stucki@gmail.com> | 2017-04-17 16:54:44 +0200 |
commit | ea9325965a82610083e75e0d111fe3d70c46b3d2 (patch) | |
tree | 3db8c18cd41cb4f9ab51537b466957b4bfa5428e /tests/run/inline-constant-in-constructor-3.check | |
parent | 2324be56376aed8cd168e712001485f2202cdda6 (diff) | |
download | dotty-ea9325965a82610083e75e0d111fe3d70c46b3d2.tar.gz dotty-ea9325965a82610083e75e0d111fe3d70c46b3d2.tar.bz2 dotty-ea9325965a82610083e75e0d111fe3d70c46b3d2.zip |
Only allow constant type vals to be inlined.
Diffstat (limited to 'tests/run/inline-constant-in-constructor-3.check')
-rw-r--r-- | tests/run/inline-constant-in-constructor-3.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run/inline-constant-in-constructor-3.check b/tests/run/inline-constant-in-constructor-3.check new file mode 100644 index 000000000..b0171e3d9 --- /dev/null +++ b/tests/run/inline-constant-in-constructor-3.check @@ -0,0 +1,4 @@ +assert +r2 +s +r init |