test: Add tests for #1802

This commit is contained in:
Brian Anderson 2012-02-10 15:43:16 -08:00
parent b9e0ee8e7e
commit 17110fb28b
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
// error-pattern:no valid digits found for number
fn main() {
log(error, 0b42);
}

View File

@ -0,0 +1,4 @@
// error-pattern:no valid digits found for number
fn main() {
log(error, 0bu);
}