aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/conversion
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/conversion')
-rw-r--r--test/libsolidity/syntaxTests/conversion/conversion_to_bytes.sol5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/conversion/conversion_to_bytes.sol b/test/libsolidity/syntaxTests/conversion/conversion_to_bytes.sol
new file mode 100644
index 00000000..5946e921
--- /dev/null
+++ b/test/libsolidity/syntaxTests/conversion/conversion_to_bytes.sol
@@ -0,0 +1,5 @@
+contract test {
+ function f() public pure returns (bytes) {
+ return bytes("abc");
+ }
+}