1 ; RUN: not llvm-rc -no-preprocess /V /FO %t.res -- %p/Inputs/tokens.rc | FileCheck %s
2 ; llvm-rc fails now on this sample because it is an invalid resource file
3 ; script. We silence the error message and just analyze the output.
5 ; CHECK: Int: 1; int value = 1
7 ; CHECK-NEXT: Int: 2; int value = 2
9 ; CHECK-NEXT: Int: 3214L; int value = 3214
11 ; CHECK-NEXT: Int: 0x120894; int value = 1181844
12 ; CHECK-NEXT: Int: 032173; int value = 13435
13 ; CHECK-NEXT: Int: 2; int value = 2
16 ; CHECK-NEXT: Tilde: ~
18 ; CHECK-NEXT: LeftParen: (
19 ; CHECK-NEXT: Minus: -
20 ; CHECK-NEXT: Int: 7; int value = 7
21 ; CHECK-NEXT: RightParen: )
22 ; CHECK-NEXT: BlockBegin: {
23 ; CHECK-NEXT: Int: 0xabcdef; int value = 11259375
24 ; CHECK-NEXT: Int: 0xABCDEFl; int value = 11259375
25 ; CHECK-NEXT: BlockEnd: }
26 ; CHECK-NEXT: BlockBegin: Begin
27 ; CHECK-NEXT: BlockEnd: End
28 ; CHECK-NEXT: Identifier: He11o
29 ; CHECK-NEXT: Identifier: LLVM
30 ; CHECK-NEXT: Identifier: identifier-with-dashes
31 ; CHECK-NEXT: String: "RC string test."
32 ; CHECK-NEXT: Comma: ,
33 ; CHECK-NEXT: String: L"Another RC string test.'&{"
34 ; CHECK-NEXT: Comma: ,
35 ; CHECK-NEXT: Int: 42; int value = 42
36 ; CHECK-NEXT: Comma: ,
37 ; CHECK-NEXT: Int: 100; int value = 100
38 ; CHECK-NEXT: Identifier: Block
39 ; CHECK-NEXT: Identifier: Comment
40 ; CHECK-NEXT: Identifier: Ident
41 ; CHECK-NEXT: Identifier: ifier
42 ; CHECK-NEXT: Identifier: Line
43 ; CHECK-NEXT: Identifier: Comment
44 ; CHECK-NEXT: Identifier: Multiple
45 ; CHECK-NEXT: Identifier: on
46 ; CHECK-NEXT: Identifier: single
47 ; CHECK-NEXT: String: ":))"