Skip to content

Commit 19e7172

Browse files
committed
[LLVM][unittests] Fix type issue in STLExtrasTest.cpp
Fixes a type error in UniqueNoPred test, that is causing the ppc64le-lld-multistage-test buildbot to fail.
1 parent 0b2b91e commit 19e7172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/ADT/STLExtrasTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ TEST(STLExtras, Unique) {
10051005
}
10061006

10071007
TEST(STLExtras, UniqueNoPred) {
1008-
std::vector<uint32_t> V = {1, 5, 5, 4, 3, 3, 3};
1008+
std::vector<int> V = {1, 5, 5, 4, 3, 3, 3};
10091009

10101010
auto I = llvm::unique(V);
10111011

0 commit comments

Comments
 (0)