aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/61_undefined_enum.expect
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-19 23:45:33 +0000
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-19 23:45:33 +0000
commit30c54c9d433f5cc213912afd2ed04808cd9a4a23 (patch)
treee4886ea66f2e4b2d40a63a61ada4e873b9e47449 /tests/tests2/61_undefined_enum.expect
parent58a34d22c9bb91175fe758654cf512f3c2fe5675 (diff)
downloadtinycc-30c54c9d433f5cc213912afd2ed04808cd9a4a23.tar.gz
tinycc-30c54c9d433f5cc213912afd2ed04808cd9a4a23.tar.bz2
tccgen.c: In parse_btype, handle typedef types with added type qualifiers.
In a case like typedef int T[1]; const T x; we must make a copy of the typedef type so that we can add the type qualifiers to it. The following code used to give error: incompatible types for redefinition of 'f' typedef int T[1]; void f(const int [1]); void f(const T);
Diffstat (limited to 'tests/tests2/61_undefined_enum.expect')
0 files changed, 0 insertions, 0 deletions