YuchangSu

Results issues of YuchangSu

``` auto class X1 { } ; ``` See Compiler Explorer: [https://godbolt.org/z/3WheK64E3](https://godbolt.org/z/3WheK64E3) auto can only be specified for variables or function declarations.It is rejected by GCC, but accepted by Clang.

clang:frontend
accepts-invalid
confirmed

`template < template < typename ... X0 , class ... > class X0 > X0 < > ;` See Compiler Explorer: [https://godbolt.org/z/KzxqW1axP](https://godbolt.org/z/KzxqW1axP) It is rejected by GCC, but accepted by...

clang:frontend
accepts-invalid
diverges-from:gcc

```c++ template char; ``` See Compiler Explorer: [https://godbolt.org/z/qooY6EcGz](https://godbolt.org/z/qooY6EcGz)

clang:frontend
crash-on-invalid
confirmed
generated by fuzzer

```c++ typedef(( operator | ) ) ( class { private : }); ``` See Compiler Explorer: [https://godbolt.org/z/7oYbzj55e](https://godbolt.org/z/7oYbzj55e)

clang:frontend
crash-on-invalid
confirmed

The code contains malformed C++11 attribute syntax with mismatched brackets/parentheses: [[ X1 ( ] ) ] ] ;. GCC rejects it, but Clang accepts it. Code: ``` [ [ X1...

c++11
c23
clang:frontend
accepts-invalid
confirmed
generated by fuzzer

The code creates an inline namespace `::X0` containing another inline namespace `::X0::X0`. Because inline namespaces inject members into the enclosing namespace for lookup, `::X0::X0` also becomes visible as `::X0` at...

clang:frontend
accepts-invalid
diverges-from:gcc
diverges-from:edg
generated by fuzzer

The code uses an attribute-specifier-seq after a class-key in an elaborated type in a type-alias declaration. GCC accepts it, but Clang rejects it. Code: ``` using X1 = class [...

question
clang:frontend
rejects-valid
diverges-from:gcc
diverges-from:msvc
diverges-from:edg
generated by fuzzer

The code contains malformed attribute syntax inside the enum base-specifier: ``` enum X0 : char [[ X1 ( { ) ]] ; ``` GCC rejects it. Clang accepts it and...

duplicate
clang:frontend
accepts-invalid
generated by fuzzer

The type-id uses a nested reference declarator &(&), which forms a reference to a reference. GCC rejects it, while Clang accepts it. Code: ```c++ using X1 = union { }...

clang:frontend
accepts-invalid
diverges-from:gcc
diverges-from:msvc
diverges-from:edg
generated by fuzzer

Code: ```c++ enum a explicit(a() ``` See Compiler Explorer: [https://godbolt.org/z/741bcxcMW](https://godbolt.org/z/741bcxcMW) Regression since Clang 12.0.0 Backtrace: ``` #0 0x000000000440ac38 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x440ac38) #1 0x0000000004408084 llvm::sys::CleanupOnSignal(unsigned long) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4408084) #2 0x0000000004347e88 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0...

clang:frontend
crash-on-invalid
generated by fuzzer