elixir/t/tree/issue131.h
Chris White d3664c5704 Add tests of struct class (#131)
This adds a file and a test to detect the issue reported in #131
2020-05-25 12:54:00 -04:00

19 lines
290 B
C

/* This file triggers the bug described in #131. */
/**
* struct class - structure
* @member: A member
*
* Description.
*/
struct class {
int member;
};
void foo(struct class *klass)
{
klass->member = 42;
}
/* t/tree/issue131.c */
/* SPDX-License-Identifier: CC0-1.0 */