1 ; RUN: rm -rf %t && mkdir %t && cd %t
2 ; RUN: cp %p/Inputs/webpage*.html .
3 ; RUN: llvm-rc /FO %t/tag-html.res -- %p/Inputs/tag-html.rc
4 ; RUN: llvm-readobj %t/tag-html.res | FileCheck %s --check-prefix HTML
6 ; HTML: Resource type (int): 23
7 ; HTML-NEXT: Resource name (int): 100
8 ; HTML-NEXT: Data version: 0
9 ; HTML-NEXT: Memory flags: 0x30
10 ; HTML-NEXT: Language ID: 1033
11 ; HTML-NEXT: Version (major): 0
12 ; HTML-NEXT: Version (minor): 0
13 ; HTML-NEXT: Characteristics: 0
14 ; HTML-NEXT: Data size: 45
16 ; HTML-NEXT: 0000: 3C68746D 6C3E0A20 203C626F 64793E0A |<html>. <body>.|
17 ; HTML-NEXT: 0010: 20202020 48656C6C 6F210A20 203C2F62 | Hello!. </b|
18 ; HTML-NEXT: 0020: 6F64793E 0A3C2F68 746D6C3E 0A |ody>.</html>.|
21 ; HTML-DAG: Resource type (int): 23
22 ; HTML-NEXT: Resource name (string): KITTEN
23 ; HTML-NEXT: Data version: 0
24 ; HTML-NEXT: Memory flags: 0x30
25 ; HTML-NEXT: Language ID: 1033
26 ; HTML-NEXT: Version (major): 0
27 ; HTML-NEXT: Version (minor): 0
28 ; HTML-NEXT: Characteristics: 0
29 ; HTML-NEXT: Data size: 61
31 ; HTML-NEXT: 0000: 3C212D2D 2053686F 756C6420 6E6F7420 |<!-- Should not |
32 ; HTML-NEXT: 0010: 656D6265 64207468 6520696D 6167652E |embed the image.|
33 ; HTML-NEXT: 0020: 202D2D3E 0A3C696D 67207372 633D226B | -->.<img src="k|
34 ; HTML-NEXT: 0030: 69747465 6E732E62 6D70223E 0A |ittens.bmp">.|