Changeset 2853d6f for tests/attr-priority.cfa
- Timestamp:
- Jan 2, 2025, 7:00:01 PM (3 weeks ago)
- Branches:
- master
- Children:
- 656c8ac
- Parents:
- a6b48f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/attr-priority.cfa
ra6b48f6 r2853d6f 1 // Although we are testing the attribute priority checks, we also have a2 // resolver error to force the expect to compare against the compiler output. 1 // Is compiled -fsyntax-only, to make the test's "output" be the warnings from cfa-cpp. 2 3 3 4 4 int * store = 0p; … … 6 6 __attribute__(( constructor(150) )) 7 7 void ctor_store(void) { 8 store = malloc();8 store = (int*)malloc(200); 9 9 } 10 10 … … 14 14 store = 0; 15 15 } 16 17 int main(void) {18 return 0;19 }
Note: See TracChangeset
for help on using the changeset viewer.