[clang] ac52488 - [clang] fix for D155342

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 20:30:53 PDT 2023


Author: Nick Desaulniers
Date: 2023-07-20T20:30:37-07:00
New Revision: ac524886094db58112ca176e1d727330a94634a8

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

LOG: [clang] fix for D155342

Added: 
    

Modified: 
    clang/test/SemaCXX/goto2.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaCXX/goto2.cpp b/clang/test/SemaCXX/goto2.cpp
index 6fbe5b733f33c2..9b62a22cce9190 100644
--- a/clang/test/SemaCXX/goto2.cpp
+++ b/clang/test/SemaCXX/goto2.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -fcxx-exceptions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fcxx-exceptions -std=c++17 %s
 // expected-no-diagnostics
 
 //PR9463


        


More information about the cfe-commits mailing list