qt5base-lts/tests/auto/tools/qmake/testdata/comments/comments.pro
Oswald Buddenhagen bc328f8ec3 remove nonsense DEFINES
Change-Id: Ie079c52eb800878983501b9fe2b2f6c27df0cdb1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2013-07-03 21:38:37 +02:00

32 lines
582 B
Prolog

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" )
}