Skip to content

Commit 5204c72

Browse files
committed
Test the C++ formatter: ignored file and broken file
Test the Python formatter: an OK change
1 parent e9a6609 commit 5204c72

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

libcxx/test/support/test.support/type_algorithms.pass.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
#include "test_macros.h"
1414
#include "type_algorithms.h"
1515

16+
int some_file( void ) {
17+
18+
return 1+2; // three!
19+
20+
}
21+
1622
// concatenate
1723
static_assert(std::is_same<types::concatenate_t<types::type_list<> >, types::type_list<> >::value, "");
1824
static_assert(std::is_same<types::concatenate_t<types::type_list<int> >, types::type_list<int> >::value, "");

llvm/utils/git/test3.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
int three() {
2+
if(code)
3+
{
4+
return 1+2;
5+
}
6+
}

llvm/utils/git/test3.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
if __name__ == "__main__":
4+
sys.exit(42)

0 commit comments

Comments
 (0)