Skip to content

Commit

Permalink
Add "--emit=link"
Browse files Browse the repository at this point in the history
This avoids a strange linker error that we get with only "--emit=mir"
and "check-pass"
  • Loading branch information
Aaron1011 committed Jan 13, 2020
1 parent 7df8ca2 commit 6a0bb18
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,5 +1,5 @@
// check-pass
// compile-flags: --emit=mir
// compile-flags: --emit=mir,link
// Force mir to be emitted, to ensure that const
// propagation doesn't ICE on a function
// with an 'impossible' body. See issue #67696
Expand Down

0 comments on commit 6a0bb18

Please sign in to comment.