https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87364
--- Comment #12 from Will Wray <wjwray at gmail dot com> --- I can take a look at the weekend or early next week - reproduce the test fails and diagnose some more. I'll try to find answers to the questions I raised in comment #4 (about name mangling of enum types) and see how Clang deals with it.