summaryrefslogtreecommitdiff
path: root/tests/c-parse.exp
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-31 15:16:05 +0000
committerBruno Haible <bruno@clisp.org>2007-03-31 15:16:05 +0000
commit0e4abdfd81e11c2bb8793a4f8d7c7636b948bad9 (patch)
tree25544fea711675f97074990103befe7f6b9ab2a8 /tests/c-parse.exp
parent89f5335289220036d0bc050d1cffd87be2202614 (diff)
downloadgperf-0e4abdfd81e11c2bb8793a4f8d7c7636b948bad9.tar.gz
Change generated code after the meaning of __inline is changed in GCC 4.3.
Diffstat (limited to 'tests/c-parse.exp')
-rw-r--r--tests/c-parse.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/c-parse.exp b/tests/c-parse.exp
index 1388af9..d2bccc7 100644
--- a/tests/c-parse.exp
+++ b/tests/c-parse.exp
@@ -199,6 +199,9 @@ static struct resword wordlist[] =
#ifdef __GNUC__
__inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
#endif
struct resword *
is_reserved_word (str, len)