Skip to content

Commit 4ed17af

Browse files
committed
update test
1 parent 76e3446 commit 4ed17af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CIR/Transforms/idiom-vector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ template <typename T> class vector {
1313
vector() {} // expected-remark {{found call to std::vector_cxx_ctor()}}
1414
~vector() {}; // expected-remark{{found call to std::vector_cxx_dtor()}}
1515
};
16+
}; // namespace std
1617

1718
void vector_test() {
18-
vector<int> v; // expected-remark {{found call to std::vector_cxx_ctor()}}
19+
std::vector<int> v; // expected-remark {{found call to std::vector_cxx_ctor()}}
1920

2021
// BEFORE-IDIOM: cir.call @_ZNSt6vectorIiEC1Ev(
2122
// BEFORE-IDIOM: cir.call @_ZNSt6vectorIiED1Ev(
@@ -24,4 +25,3 @@ void vector_test() {
2425
// AFTER-LOWERING-PREPARE: cir.call @_ZNSt6vectorIiEC1Ev(
2526
// AFTER-LOWERING-PREPARE: cir.call @_ZNSt6vectorIiED1Ev(
2627
}
27-
}; // namespace std

0 commit comments

Comments
 (0)