File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/Interop/SwiftToCxx/functions Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
// REQUIRES: executable_test
12
12
13
13
#include < cassert>
14
- #include < iostream >
14
+ #include < cstdio >
15
15
#include " functions.h"
16
16
17
17
int main () {
@@ -22,17 +22,17 @@ int main() {
22
22
try {
23
23
Functions::emptyThrowFunction ();
24
24
} catch (swift::_impl::NaiveException& e) {
25
- std::cout << e.getMessage () << " \n " ;
25
+ printf ( " %s \n " , e.getMessage ()) ;
26
26
}
27
27
try {
28
28
Functions::throwFunction ();
29
29
} catch (swift::_impl::NaiveException& e) {
30
- std::cout << e.getMessage () << " \n " ;
30
+ printf ( " %s \n " , e.getMessage ()) ;
31
31
}
32
32
try {
33
33
Functions::throwFunctionWithReturn ();
34
34
} catch (swift::_impl::NaiveException& e) {
35
- std::cout << e.getMessage () << " \n " ;
35
+ printf ( " %s \n " , e.getMessage ()) ;
36
36
}
37
37
38
38
return 0 ;
You can’t perform that action at this time.
0 commit comments