There were 3 tests with 'int main(void)', and 6 with the return type on a different line. I'm about to send a patch for main in tests, and this NFC change is unrelated.
llvm-svn: 350770
};
}
-int
-main()
+int main()
{
typedef std::unordered_map<Key, int> MapT;
typedef MapT::iterator Iter;
assert(ss.str() == expected);
}
-int main(void)
+int main()
{
const std::ios_base::fmtflags o = std::ios_base::oct;
const std::ios_base::fmtflags d = std::ios_base::dec;
}
}
-int main(void)
+int main()
{
check_limits<short>();
check_limits<unsigned short>();
}
}
-int main(void)
+int main()
{
test_neg_one<long>();
test_neg_one<long long>();
assert((std::regex_match(target, smatch, regex)));
}
-int
-main()
+int main()
{
test1();
test2();
}
};
-int
-main()
+int main()
{
run<test_basics>(integrals);
run<test_signed>(all_signed);
}
};
-int
-main()
+int main()
{
run<test_basics>(integrals);
run<test_signed>(all_signed);
}
};
-int
-main()
+int main()
{
using std::placeholders::_1;
void operator()() {}
};
-int
-main()
+int main()
{
X x;
std::function<void()> f(x);