packages feed

hs-bindgen-1.0.0.0: test-artefacts/headers/golden/functions/fun_attributes_conflict.h

/** @file
 * Conflicting attributes on functions for llvm/clang versions 18 and up
 *
 * Examples from https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
 */

// const and pure conflict

int square_cp (int x) __attribute__ ((const, pure));

int square_pc (int x) __attribute__ ((pure, const));

int square_cc (int x) __attribute__ ((const, const));

int square_pp (int x) __attribute__ ((pure, pure));