about summary refs log tree commit diff
path: root/tests/codegen/repr
diff options
context:
space:
mode:
authorAndreas Jonson <andjo403@users.noreply.github.com>2024-07-30 11:06:26 +0200
committerAndreas Jonson <andjo403@users.noreply.github.com>2024-08-11 19:40:44 +0200
commitcfadfabfcd9644628422396fcc8a67244df435c1 (patch)
tree76631b2a21fc3d4b77d82a24278b6ea75693fd89 /tests/codegen/repr
parent9bad7ba324099d124c77c5b06aebf68e11763f7b (diff)
downloadrust-cfadfabfcd9644628422396fcc8a67244df435c1.tar.gz
rust-cfadfabfcd9644628422396fcc8a67244df435c1.zip
Add range attribute to scalar function results and arguments
Diffstat (limited to 'tests/codegen/repr')
-rw-r--r--tests/codegen/repr/transparent.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/repr/transparent.rs b/tests/codegen/repr/transparent.rs
index 4b41332db45..9140b8542ec 100644
--- a/tests/codegen/repr/transparent.rs
+++ b/tests/codegen/repr/transparent.rs
@@ -74,7 +74,7 @@ pub enum Bool {
     FileNotFound,
 }
 
-// CHECK: define{{( dso_local)?}} noundef{{( zeroext)?}} i8 @test_Gpz(i8 noundef{{( zeroext)?}} %_1)
+// CHECK: define{{( dso_local)?}} noundef{{( zeroext)?( range\(i8 0, 3\))?}} i8 @test_Gpz(i8 noundef{{( zeroext)?( range\(i8 0, 3\))?}} %_1)
 #[no_mangle]
 pub extern "C" fn test_Gpz(_: GenericPlusZst<Bool>) -> GenericPlusZst<Bool> {
     loop {}