mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A header shouldn't contain a function body unless the function is inline. Following gribozavr's suggestion, I'm using the easier solution of omitting the semicolon from the function prototype. (In response to review comments.)
3 lines
82 B
C
3 lines
82 B
C
// This C code intentionally doesn't compile (note missing semicolon).
|
|
void foo()
|