summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmake/testdata/comments/comments.pro
blob: 5f1ac083fa51c3f9913da3cc9a69b1e02c33d880 (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
32
33
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" )
}