summaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/cpp/test.cpp
blob: 4dd138e7e9c9b12339859124221b5a703a53e53a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <iostream>
#include <cstdlib>
//    ^ include
//       ^ string

auto main( int argc, char** argv ) -> int
      //       ^ parameter
      //    ^ type
      //    ^ type
      //                  ^ operator
{
    std::cout << "Hello world!" << std::endl;
    //  ^ punctuation.delimiter
    
    return EXIT_SUCCESS;
    // ^ keyword.return
    //      ^ constant
}