mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 17:11:04 +00:00
ed98209ddc
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.
17 lines
351 B
C++
17 lines
351 B
C++
#include "testXMLParser.h"
|
|
|
|
#include <iostream>
|
|
|
|
#include "cmXMLParser.h"
|
|
|
|
int testXMLParser(int /*unused*/, char* /*unused*/ [])
|
|
{
|
|
// TODO: Derive from parser and check attributes.
|
|
cmXMLParser parser;
|
|
if (!parser.ParseFile(SOURCE_DIR "/testXMLParser.xml")) {
|
|
std::cerr << "cmXMLParser failed!" << std::endl;
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|