[pseudo] Add xfail tests for a simple-declaration/function-definition ambiguity
authorSam McCall <sam.mccall@gmail.com>
Thu, 9 Jun 2022 07:06:19 +0000 (09:06 +0200)
committerSam McCall <sam.mccall@gmail.com>
Thu, 23 Jun 2022 13:52:22 +0000 (15:52 +0200)
commit6b187fdf3bb409061b6a235487517f478b09afed
treec1882e796642d5553c8e25a29569b09fb96e46c2
parent971fa4b1961bcf8013481d0fe1d4864d7adda0f8
[pseudo] Add xfail tests for a simple-declaration/function-definition ambiguity

I expect to eliminate this ambiguity at the grammar level by use of guards,
because it interferes with brace-based error recvoery.

Differential Revision: https://reviews.llvm.org/D127400
clang-tools-extra/pseudo/test/cxx/declarator-function.cpp [new file with mode: 0644]
clang-tools-extra/pseudo/test/cxx/declarator-var.cpp [new file with mode: 0644]