summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/comments/comments.pro
blob: 510ab95ab39b2df0f8d28b1dd0274c56ac0138a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
LIST = 1 2 3 4 #a comment
!equals( LIST, 1 2 3 4 ) {
   message( "FAILED: inline comment" )
}

LIST = 1 \
       2 \
#      3 \
       4
!equals( LIST, 1 2 4 ) {
   message( "FAILED: commented out continuation" )
}

LIST = 1 \
       2 \#comment
       3 \
       4
!equals( LIST, 1 2 3 4 ) {
    message( "FAILED: comment at end of continuation")
}


LIST = 1 2 3 4#comment
!equals( LIST, 1 2 3 4 ) {
    message( "FAILED: no space before comment" )
}

LIST = 1 2 3 4$${LITERAL_HASH}five
!equals( LIST, 1 2 3 4$${LITERAL_HASH}five ) {
    message( "FAILED: using LITERAL_HASH" )
}