mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 23:21:25 +00:00
not find multiple functions with the same name but different types. Now we keep track of what types we've already reported for a function and only elide functions if we've already reported a conflicting one. Also added a test case. <rdar://problem/11367837> llvm-svn: 180167
10 lines
78 B
C++
10 lines
78 B
C++
static int Static()
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
int CallStaticA()
|
|
{
|
|
return Static();
|
|
}
|