Another ICE test.

This commit is contained in:
Daniel Kirchner 2020-04-15 12:05:23 +02:00
parent 6f06154eb5
commit 3a5a4c6505

View File

@ -0,0 +1,5 @@
contract C {
function ( uint ) external returns ( a [ ] calldata ) public a = ( 1 / 2 ) ;
}
// ----
// TypeError: (58-59): Name has to refer to a struct, enum or contract.