// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - -triple=x86_64-pc-linux-gnu | FileCheck %s
// Verifying that we do, in fact, select the correct function in the following
// cases.
void ;
void ;
// CHECK-LABEL: define{{.*}} void @test1
void
void ;
void ;
// CHECK-LABEL: define{{.*}} void @test2
void
void ;
void ;
// CHECK-LABEL: define{{.*}} void @test3
void
;
void ;
void ;
// CHECK-LABEL: define{{.*}} void @test4
void
// There was a bug where, when enable_if was present, overload resolution
// wouldn't pay attention to lower-priority attributes.
// (N.B. `foo` with pass_object_size should always be preferred)
// CHECK-LABEL: define{{.*}} void @test5
void