aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/cpp/test.cpp
blob: f0c3f62bf1e76329181569c4e8ec61a4769fce80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}