We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expected-no-diagnostics
1 parent 1fc73ca commit c990d94Copy full SHA for c990d94
clang/test/SemaCXX/cxx2a-virtual-base-used.cpp
@@ -1,4 +1,6 @@
1
-// RUN: %clang_cc1 -std=c++20 -verify=cxx20 -triple=x86_64-linux-gnu %s
+// RUN: %clang_cc1 -std=c++2a -verify -triple=x86_64-linux-gnu %s
2
+// expected-no-diagnostics
3
+
4
// Fixes assertion triggered by https://github.com/llvm/llvm-project/issues/65982
5
6
struct A { int y; };
0 commit comments