CMake/Tests/CMakeLib/testXMLParser.cxx
Kitware Robot ed98209ddc Revise include order using clang-format-6.0
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.
2019-10-01 12:26:36 -04:00

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;
}