Add 'run' line and 'expected-no-diagnostics' to test added in 3ed9e9e3ac

This commit is contained in:
erichkeane 2023-09-08 09:05:16 -07:00
parent 39b6c82c5d
commit 390b48675b

View File

@ -1,9 +1,11 @@
// RUN: %clang_cc1 -std=c++23 -verify -fsyntax-only %s
// This test case came up in the review of
// https://reviews.llvm.org/D159126
// when transforming `this` within a
// requires expression, we need to make sure
// the type of this (and its qualifiers) is respected.
// expected-no-diagnostics
namespace D159126 {
template <class _Tp>