Files
swift-mirror/test/ClangImporter/Inputs/const_and_pure.h
Becca Royal-Gordon d2184688aa Fix ClangImporter/const_and_pure.swift
In the rebranch compiler, `void` functions cannot be const or pure.

Fixes rdar://127262449.
2024-07-24 13:07:13 -07:00

8 lines
115 B
C

__attribute__((const)) int const_function();
__attribute__((pure)) int pure_function();
int normal_function();