[Bug c++/86870] Declaration disambiguation is too greedy
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86870 --- Comment #2 from Andrew Pinski --- GCC, clang, MSVC and ICC all reject it.
[Bug c++/86870] Declaration disambiguation is too greedy
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86870 --- Comment #1 from Nicolas Lesser --- Oops, I missed to define a default constructor for `X`. This however, does not change the bug report and gcc still incorrectly parses the second statement as a declaration.