From c861dda919064c1520a1a14f70906c74e929acef Mon Sep 17 00:00:00 2001 From: cgewecke Date: Fri, 14 Feb 2020 10:06:23 -0800 Subject: [PATCH] Add test sources for base contract string constructor --- .../solidity/contracts/statements/interpolation.sol | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/sources/solidity/contracts/statements/interpolation.sol diff --git a/test/sources/solidity/contracts/statements/interpolation.sol b/test/sources/solidity/contracts/statements/interpolation.sol new file mode 100644 index 0000000..c0d4a08 --- /dev/null +++ b/test/sources/solidity/contracts/statements/interpolation.sol @@ -0,0 +1,13 @@ +pragma solidity ^0.5.0; + +contract Interpolated { + constructor(string memory a) public { + string memory b = a; + } +} + +contract Test is Interpolated("abc{defg}"){ + function a(uint x) public { + uint y = x; + } +}