Skip to content

Commit df3e2c4

Browse files
antoniofrighettollvmbot
authored andcommitted
[clang] Include expected-no-diagnostics in newly-added test (NFC)
(cherry picked from commit c990d9444350ef583c6d53e84d9c10cebbf65532)
1 parent 7ae78be commit df3e2c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/test/SemaCXX/cxx2a-virtual-base-used.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// RUN: %clang_cc1 -std=c++20 -verify=cxx20 -triple=x86_64-linux-gnu %s
1+
// RUN: %clang_cc1 -std=c++2a -verify -triple=x86_64-linux-gnu %s
2+
// expected-no-diagnostics
3+
24
// Fixes assertion triggered by https://github.com/llvm/llvm-project/issues/65982
35

46
struct A { int y; };

0 commit comments

Comments
 (0)