-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not ICE when we have -Zunpretty=expand with invalid ABI
- Loading branch information
1 parent
d5e7f47
commit 26ecd44
Showing
5 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#![feature(prelude_import)] | ||
#![no_std] | ||
#[prelude_import] | ||
use ::std::prelude::rust_2015::*; | ||
#[macro_use] | ||
extern crate std; | ||
// revisions: normal expanded | ||
//[expanded] check-pass | ||
//[expanded]compile-flags: -Zunpretty=expanded | ||
|
||
extern "路濫狼á́́" fn foo() {} | ||
|
||
fn main() {} |
2 changes: 1 addition & 1 deletion
2
src/test/ui/codemap_tests/unicode.stderr → ...st/ui/codemap_tests/unicode.normal.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
extern "路濫狼á́́" fn foo() {} //~ ERROR invalid ABI | ||
// revisions: normal expanded | ||
//[expanded] check-pass | ||
//[expanded]compile-flags: -Zunpretty=expanded | ||
|
||
extern "路濫狼á́́" fn foo() {} //[normal]~ ERROR invalid ABI | ||
|
||
fn main() { } |