<div dir="ltr">Just opened <a href="https://bugs.llvm.org/show_bug.cgi?id=49978">https://bugs.llvm.org/show_bug.cgi?id=49978</a> with the default CC as I'm not sure who does C front end stuff. Seeking confirmation that this is considered a bug by other people.<div><br></div><div>__attribute__((overloadable) void func(char *);</div><div><div>__attribute__((overloadable) void func(const char *);</div><div>void call(void)</div><div>{</div><div>  func("ambiguous");</div><div>}</div><div><br></div><div>I think "ambiguous" should decay to a char* and pick the char* overload. Something of an edge case because "literals" have different types between C and C++, and overloadable is an extension anyway.</div><div><br></div><div>Thanks</div><div></div></div></div>