summaryrefslogtreecommitdiff
path: root/t/lex-depend-cxx.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/lex-depend-cxx.sh')
-rw-r--r--t/lex-depend-cxx.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lex-depend-cxx.sh b/t/lex-depend-cxx.sh
index d8b7887be..b6efeb02f 100644
--- a/t/lex-depend-cxx.sh
+++ b/t/lex-depend-cxx.sh
@@ -46,6 +46,8 @@ END
cat > joe.ll << 'END'
%{
+#define YY_DECL int yylex (void)
+extern "C" YY_DECL;
#define YY_NO_UNISTD_H 1
int isatty (int fd) { return 0; }
%}