X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=parsetest%2Fattributes.c;h=0d9c84eca7685990fa58405e6e68cd552386eb09;hb=f2fe6316c424c6f6329c5f7cb037153c5b0ccf91;hp=b0de8817273b33ef97e16f2f3c488a8542e8bfac;hpb=67569659de101e005c876dbf18ae1a54a97c917e;p=cparser diff --git a/parsetest/attributes.c b/parsetest/attributes.c index b0de881..0d9c84e 100644 --- a/parsetest/attributes.c +++ b/parsetest/attributes.c @@ -1,6 +1,7 @@ int test1(int a) __attribute__((noreturn)); int test2(int a) __attribute__((const)); -int test3(int a) __attribute__((weak)); +/* empty args are allowed */ +int test3(int a) __attribute__((weak())); int test4(int a) __attribute__((unknown_error("bla", 3))); int test5(int a) __attribute__((alias("test2"))); int test6(int a) __attribute__((section("extra")));