FileCheck repeat. · rust-lang/rust@f3743ae (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit f3743ae
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
1 | -// skip-filecheck | |
2 | 1 | // unit-test: ConstProp |
3 | 2 | // EMIT_MIR_FOR_EACH_PANIC_STRATEGY |
4 | 3 | // EMIT_MIR_FOR_EACH_BIT_WIDTH |
5 | 4 | |
6 | 5 | // EMIT_MIR repeat.main.ConstProp.diff |
7 | 6 | fn main() { |
7 | +// CHECK-LABEL: fn main( | |
8 | +// CHECK: debug x => [[x:_.*]]; | |
9 | +// CHECK: [[x]] = const 42_u32; | |
8 | 10 | let x: u32 = [42; 8][2] + 0; |
9 | 11 | } |