Files
c3c/test/test_suite/attributes/bad_combinations.c3
Damien Wilson 9efb9b90d1 Minor attribute combination checking (#2918)
* Minor attribute combination checking

* Added tests to the test suite.
2026-02-19 17:58:39 +01:00

10 lines
209 B
Plaintext

module test;
fn void foo() @inline @noinline // #error: cannot be combined
{}
fn void bar() @used @unused // #error: cannot be combined
{}
fn bool baz() @nodiscard @noreturn // #error: cannot be combined
{}