mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
In the rebranch compiler, `void` functions cannot be const or pure. Fixes rdar://127262449.
8 lines
115 B
C
8 lines
115 B
C
|
|
__attribute__((const)) int const_function();
|
|
|
|
__attribute__((pure)) int pure_function();
|
|
|
|
int normal_function();
|
|
|