aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index 3b657e39..393d3c64 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -9698,7 +9698,10 @@ BOOST_AUTO_TEST_CASE(return_structs)
}
}
)";
- compileAndRun(sourceCode, 0, "C");
+ // This will throw "unimplemented" until it is implemented.
+ BOOST_CHECK_THROW(
+ compileAndRun(sourceCode, 0, "C"),
+ Exception);
// Will calculate the exact encoding later.
// BOOST_CHECK(callContractFunction("f()") == encodeArgs(