diff --git a/clang/test/CodeGenCXX/builtins.cpp b/clang/test/CodeGenCXX/builtins.cpp index 09f1b5e5a417..7aca6617f5ae 100644 --- a/clang/test/CodeGenCXX/builtins.cpp +++ b/clang/test/CodeGenCXX/builtins.cpp @@ -17,13 +17,13 @@ S *addressof(bool b, S &s, S &t) { } extern "C" int __builtin_abs(int); // #1 -long __builtin_abs(long); // #2 +long long __builtin_abs(long long); // #2 extern "C" int __builtin_abs(int); // #3 int x = __builtin_abs(-2); // CHECK: entry: // CHECK-NEXT: store i32 2, i32* @x, align 4 -long y = __builtin_abs(-2l); +long y = __builtin_abs(-2ll); // CHECK: entry: -// CHECK-NEXT: %call = call i32 @_Z13__builtin_absl(i32 -2) +// CHECK-NEXT: %call = call i64 @_Z13__builtin_absx(i64 -2)