diff options
Diffstat (limited to 'tests/query/highlights/cpp')
| -rw-r--r-- | tests/query/highlights/cpp/test.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/query/highlights/cpp/test.cpp b/tests/query/highlights/cpp/test.cpp new file mode 100644 index 000000000..f0c3f62bf --- /dev/null +++ b/tests/query/highlights/cpp/test.cpp @@ -0,0 +1,17 @@ +#include <iostream> +#include <cstdlib> +// ^ include +// ^ string + +auto main( int argc, char** argv ) -> int + // ^ parameter + // ^ type + // ^ TSType + // ^ operator +{ + std::cout << "Hello world!" << std::endl; + + return EXIT_SUCCESS; + // ^ keyword.return + // ^ constant +} |
