aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/string/string_unterminated.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/string/string_unterminated.sol')
-rw-r--r--test/libsolidity/syntaxTests/string/string_unterminated.sol7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/string/string_unterminated.sol b/test/libsolidity/syntaxTests/string/string_unterminated.sol
new file mode 100644
index 00000000..3291781e
--- /dev/null
+++ b/test/libsolidity/syntaxTests/string/string_unterminated.sol
@@ -0,0 +1,7 @@
+contract test {
+ function f() public pure returns (bytes32) {
+ bytes32 escapeCharacters = "This a test
+ }
+}
+// ----
+// ParserError: (100-112): Expected primary expression. \ No newline at end of file