1 // Test typedef and global variable in function.
22 // Test reporting an error in macro definition
23 #define MYMACRO(ctx) \
28 int g(struct S
*ctx
) {
33 // Test that asm import does not fail.
34 // TODO: Support the GNU extension asm keyword as well.
35 // Example using the GNU extension: asm("mov $42, %0" : "=r"(res));
44 int identImplicit(int in
) {
48 // ASTImporter doesn't support this construct.
49 int structInProto(struct DataType
{int a
;int b
; } * d
) {
53 int switchWithoutCases(int x
) {