mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +03:00
Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
20 lines
388 B
C++
20 lines
388 B
C++
#include <iostream>
|
|
|
|
#include "IncA.hpp"
|
|
#include "IncB.hpp"
|
|
#include "StyleA.hpp"
|
|
#include "StyleB.hpp"
|
|
|
|
int main(int argv, char** args)
|
|
{
|
|
StyleA styleA;
|
|
StyleB styleB;
|
|
IncA incA;
|
|
IncB incB;
|
|
|
|
// Test the TOKEN definition passed on the command line
|
|
std::string token(TOKEN);
|
|
std::cout << "std::string(TOKEN): \"" << token << "\"\n";
|
|
return (token == "hello;") ? 0 : -1;
|
|
}
|