aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inlineAssembly
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-08-02 03:57:12 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-08-02 03:57:12 +0800
commit8781990ff3a70934d5dcfad50cfb645fe3473c94 (patch)
tree5f27a651bf22c5b1d63067c51aa8b58cbe692d95 /test/libsolidity/syntaxTests/inlineAssembly
parent1f832e068b2d2c79fff870742d867b655b62f691 (diff)
downloaddexon-solidity-8781990ff3a70934d5dcfad50cfb645fe3473c94.tar
dexon-solidity-8781990ff3a70934d5dcfad50cfb645fe3473c94.tar.gz
dexon-solidity-8781990ff3a70934d5dcfad50cfb645fe3473c94.tar.bz2
dexon-solidity-8781990ff3a70934d5dcfad50cfb645fe3473c94.tar.lz
dexon-solidity-8781990ff3a70934d5dcfad50cfb645fe3473c94.tar.xz
dexon-solidity-8781990ff3a70934d5dcfad50cfb645fe3473c94.tar.zst
dexon-solidity-8781990ff3a70934d5dcfad50cfb645fe3473c94.zip
Remove trailing whitespace in all contract files.
Diffstat (limited to 'test/libsolidity/syntaxTests/inlineAssembly')
-rw-r--r--test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol4
-rw-r--r--test/libsolidity/syntaxTests/inlineAssembly/storage_reference_assignment.sol6
-rw-r--r--test/libsolidity/syntaxTests/inlineAssembly/storage_reference_fine.sol2
-rw-r--r--test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_memory.sol6
4 files changed, 9 insertions, 9 deletions
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
index b6dd12b8..07113093 100644
--- a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
+++ b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference.sol
@@ -1,6 +1,6 @@
contract C {
uint[] x;
- function() external {
+ function() external {
uint[] storage y = x;
assembly {
pop(y)
@@ -8,4 +8,4 @@ contract C {
}
}
// ----
-// TypeError: (119-120): You have to use the _slot or _offset suffix to access storage reference variables.
+// TypeError: (118-119): You have to use the _slot or _offset suffix to access storage reference variables.
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_assignment.sol b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_assignment.sol
index d5c8eaf5..dc742142 100644
--- a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_assignment.sol
+++ b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_assignment.sol
@@ -1,6 +1,6 @@
contract C {
uint[] x;
- function() external {
+ function() external {
uint[] storage y = x;
assembly {
y_slot := 1
@@ -9,5 +9,5 @@ contract C {
}
}
// ----
-// TypeError: (115-121): Storage variables cannot be assigned to.
-// TypeError: (139-147): Storage variables cannot be assigned to.
+// TypeError: (114-120): Storage variables cannot be assigned to.
+// TypeError: (138-146): Storage variables cannot be assigned to.
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_fine.sol b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_fine.sol
index 84f98ed9..b01a7705 100644
--- a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_fine.sol
+++ b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_fine.sol
@@ -1,6 +1,6 @@
contract C {
uint[] x;
- function() external {
+ function() external {
uint[] storage y = x;
assembly {
pop(y_slot)
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_memory.sol b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_memory.sol
index 4025e11c..704b712d 100644
--- a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_memory.sol
+++ b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_memory.sol
@@ -1,6 +1,6 @@
contract C {
uint[] x;
- function() external {
+ function() external {
uint[] memory y = x;
assembly {
pop(y_slot)
@@ -9,5 +9,5 @@ contract C {
}
}
// ----
-// TypeError: (118-124): The suffixes _offset and _slot can only be used on storage variables.
-// TypeError: (142-150): The suffixes _offset and _slot can only be used on storage variables.
+// TypeError: (117-123): The suffixes _offset and _slot can only be used on storage variables.
+// TypeError: (141-149): The suffixes _offset and _slot can only be used on storage variables.