Add "--emit=link"

This avoids a strange linker error that we get with only "--emit=mir"
and "check-pass"
This commit is contained in:
Aaron Hill 2020-01-11 14:17:42 -05:00
parent 7df8ca2954
commit 6a0bb1867b
No known key found for this signature in database
GPG Key ID: B4087E510E98B164

View File

@ -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