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 1111// REQUIRES: executable_test
1212
1313#include < cassert>
14- #include < iostream >
14+ #include < cstdio >
1515#include " functions.h"
1616
1717int main () {
@@ -22,17 +22,17 @@ int main() {
2222 try {
2323 Functions::emptyThrowFunction ();
2424 } catch (swift::_impl::NaiveException& e) {
25- std::cout << e.getMessage () << " \n " ;
25+ printf ( " %s \n " , e.getMessage ()) ;
2626 }
2727 try {
2828 Functions::throwFunction ();
2929 } catch (swift::_impl::NaiveException& e) {
30- std::cout << e.getMessage () << " \n " ;
30+ printf ( " %s \n " , e.getMessage ()) ;
3131 }
3232 try {
3333 Functions::throwFunctionWithReturn ();
3434 } catch (swift::_impl::NaiveException& e) {
35- std::cout << e.getMessage () << " \n " ;
35+ printf ( " %s \n " , e.getMessage ()) ;
3636 }
3737
3838 return 0 ;
You can’t perform that action at this time.
0 commit comments