blob: 19fa37191b01da29d1ea6bc7c1c12968761557ae [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
bool const a = true;
bool v = select((a & true), true, false);
}
program_source:6:12: error: call to 'select' is ambiguous
bool v = select((a & true), true, false);
^~~~~~
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/32023/Libraries/lib/clang/32023.194/include/metal/metal_relational:780:17: note: candidate function
METAL_FUNC bool select(bool x, bool y, bool c)
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/32023/Libraries/lib/clang/32023.194/include/metal/metal_relational:920:16: note: candidate function
METAL_FUNC int select(int x, int y, bool c)
^