1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
18 // CHECK: define{{.*}} ptr @_Z1fP1A(ptr noundef %a) [[NUW:#[0-9]+]]
20 // CHECK-NOT: br label
22 return static_cast<B
*>(a
);
28 // CHECK: define{{.*}} ptr @_ZN6PR59651fEP1B(ptr noundef %b) [[NUW]]
30 // CHECK-NOT: br label
37 // Don't crash on a derived-to-base conversion of an r-value
49 // CHECK: attributes [[NUW]] = { mustprogress noinline nounwind{{.*}} }