1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/tools/llvm-rc/inline-manifest.test
Martin Storsjö a47e707b80 [llvm-rc] Make commas in user data structs optional
This matches what rc.exe tolerates in this type.

This fixes cases like this:

    1 24
    BEGIN
      "<?xml version=""1.0""?>\n"
      "<assembly>\n"
      "</assembly>\n"
    END

Differential Revision: https://reviews.llvm.org/D105621
2021-07-09 14:31:12 +03:00

24 lines
1.1 KiB
Plaintext

; RUN: llvm-rc -no-preprocess /FO %t -- %p/Inputs/inline-manifest.rc
; RUN: llvm-readobj %t | FileCheck %s
; CHECK: Resource type (int): MANIFEST (ID 24)
; CHECK-NEXT: Resource name (int): 1
; CHECK-NEXT: Data version: 0
; CHECK-NEXT: Memory flags: 0x30
; CHECK-NEXT: Language ID: 1033
; CHECK-NEXT: Version (major): 0
; CHECK-NEXT: Version (minor): 0
; CHECK-NEXT: Characteristics: 0
; CHECK-NEXT: Data size: 142
; CHECK-NEXT: Data: (
; CHECK-NEXT: 0000: 3C3F786D 6C207665 7273696F 6E3D2231 |<?xml version="1|
; CHECK-NEXT: 0010: 2E302220 656E636F 64696E67 3D225554 |.0" encoding="UT|
; CHECK-NEXT: 0020: 462D3822 20737461 6E64616C 6F6E653D |F-8" standalone=|
; CHECK-NEXT: 0030: 22796573 223F3E0A 3C617373 656D626C |"yes"?>.<assembl|
; CHECK-NEXT: 0040: 7920786D 6C6E733D 2275726E 3A736368 |y xmlns="urn:sch|
; CHECK-NEXT: 0050: 656D6173 2D6D6963 726F736F 66742D63 |emas-microsoft-c|
; CHECK-NEXT: 0060: 6F6D3A61 736D2E76 3122206D 616E6966 |om:asm.v1" manif|
; CHECK-NEXT: 0070: 65737456 65727369 6F6E3D22 312E3022 |estVersion="1.0"|
; CHECK-NEXT: 0080: 3E0A3C2F 61737365 6D626C79 3E0A |>.</assembly>.|
; CHECK-NEXT: )