From 390b48675be80420f471bd3be74577495b1b1897 Mon Sep 17 00:00:00 2001 From: erichkeane Date: Fri, 8 Sep 2023 09:05:16 -0700 Subject: [PATCH] Add 'run' line and 'expected-no-diagnostics' to test added in 3ed9e9e3ace6f9ce320cf4e75cffa04a7c7241b5 --- clang/test/SemaCXX/this-type-deduction-concept.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/test/SemaCXX/this-type-deduction-concept.cpp b/clang/test/SemaCXX/this-type-deduction-concept.cpp index a0c1f605ccef..7f578440befd 100644 --- a/clang/test/SemaCXX/this-type-deduction-concept.cpp +++ b/clang/test/SemaCXX/this-type-deduction-concept.cpp @@ -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