mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
@c @implementation relies on matching the original C declaration. The lookup for the original C declaration was doing the wrong kind of lookup, meaning that it could only find the C declaration if it came through a bridging header, and not through a normal module import. Using unqualified lookup here finds the name appropriately. Clarify the diagnostics here as well to not talk about umbrella and bridging headers. Fixes rdar://161909754.
2 lines
40 B
C
2 lines
40 B
C
double c_function_returns_double(void);
|