FileCheck tuple_literal_propagation. · rust-lang/rust@c00068e (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 c00068e
FileCheck tuple_literal_propagation.
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
1 | -// skip-filecheck | |
2 | 1 | // unit-test: ConstProp |
3 | 2 | // EMIT_MIR_FOR_EACH_PANIC_STRATEGY |
4 | 3 | // EMIT_MIR tuple_literal_propagation.main.ConstProp.diff |
4 | + | |
5 | 5 | fn main() { |
6 | +// CHECK-LABEL: fn main( | |
7 | +// CHECK: = consume(const (1_u32, 2_u32)) | |
6 | 8 | let x = (1, 2); |
7 | - | |
8 | 9 | consume(x); |
9 | 10 | } |
10 | 11 |