]> git.lizzy.rs Git - rust.git/blobdiff - src/test/codegen/target-cpu-on-functions.rs
Suggest defining type parameter when appropriate
[rust.git] / src / test / codegen / target-cpu-on-functions.rs
index 3fdf6ab6d002f409fc610ed7da018e8bcb3cfdd9..523216deb8400936cc8cd331458aae093a810640 100644 (file)
@@ -13,7 +13,9 @@
     not_exported();
 }
 
-// CHECK-LABEL: define {{.*}} @_ZN23target_cpu_on_functions12not_exported{{.*}}() {{.*}} #0
+// CHECK-LABEL: ; target_cpu_on_functions::not_exported
+// CHECK-NEXT: ; Function Attrs:
+// CHECK-NEXT: define {{.*}}() {{.*}} #0
 fn not_exported() {}
 
 // CHECK: attributes #0 = {{.*}} "target-cpu"="{{.*}}"