Skip to content

Commit 1b2efe8

Browse files
committed
Fix this test to be more robust
The test is failing because it lacks a target triple, so the number of diagnostics differs between Windows and Linux targets. This should correct the issue found by: https://lab.llvm.org/buildbot/#/builders/109/builds/46804
1 parent 5d92d0b commit 1b2efe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CXX/drs/dr4xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ namespace dr483 { // dr483: yes
10131013
int check4[__LONG_MAX__ >= 2147483647 ? 1 : -1];
10141014
int check5[__LONG_LONG_MAX__ >= 9223372036854775807 ? 1 : -1];
10151015
#if __cplusplus < 201103L
1016-
// expected-error@-2 2{{extension}}
1016+
// expected-error@-2 1+{{extension}}
10171017
#endif
10181018
}
10191019
namespace cstdint {

0 commit comments

Comments
 (0)