Skip to content

Commit ac7bf31

Browse files
author
MarcoFalke
committed
constexpr
1 parent 92e1753 commit ac7bf31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
// RUN: %check_clang_tidy -std=c++20 %s misc-use-internal-linkage %t -- -- -I%S/Inputs/use-internal-linkage
22

33
consteval void gh122096() {}
4+
5+
constexpr void cxf() {}
6+
// CHECK-MESSAGES: :[[@LINE-1]]:16: warning: function 'cxf'
7+
// CHECK-FIXES: static constexpr void cxf() {}

0 commit comments

Comments
 (0)