Fix a test I messed up.

This commit is contained in:
Michael Sullivan 2012-06-20 17:07:54 -07:00
parent b92a7b790b
commit bcd3942f41
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
// error-pattern:cannot index a value of type `()`
fn main() {
let z = ();
log(error, z[0]); //! ERROR cannot index a value of type `()`
log(error, z[0]);
}