attr_04_used_static.c (248B)
1 /* __attribute__((used)) on a static variable. Phase 1 parses but does 2 * not mark the ObjSym as retained. The reference from test_main keeps 3 * it alive regardless. */ 4 static int k __attribute__((used)) = 7; 5 6 int test_main(void) { return k - 7; }