[clang] 390b486 - Add 'run' line and 'expected-no-diagnostics' to test added in 3ed9e9e3ace6f9ce320cf4e75cffa04a7c7241b5

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 09:05:23 PDT 2023


Author: erichkeane
Date: 2023-09-08T09:05:16-07:00
New Revision: 390b48675be80420f471bd3be74577495b1b1897

URL: https://github.com/llvm/llvm-project/commit/390b48675be80420f471bd3be74577495b1b1897
DIFF: https://github.com/llvm/llvm-project/commit/390b48675be80420f471bd3be74577495b1b1897.diff

LOG: Add 'run' line and 'expected-no-diagnostics' to test added in 3ed9e9e3ace6f9ce320cf4e75cffa04a7c7241b5

Added: 
    

Modified: 
    clang/test/SemaCXX/this-type-deduction-concept.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaCXX/this-type-deduction-concept.cpp b/clang/test/SemaCXX/this-type-deduction-concept.cpp
index a0c1f605ccefd76..7f578440befdb23 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 <class _Tp>


        


More information about the cfe-commits mailing list