mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-24 01:58:21 +00:00
Make tests from r302765 windows friendly
and appease: http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/2030 llvm-svn: 302771
This commit is contained in:
parent
b3c1f56737
commit
f3fde7e851
@ -3,18 +3,18 @@
|
||||
// RUN: -fimplicit-module-maps -fmodules-cache-path=%t.tmp %s -verify
|
||||
|
||||
// expected-error@Inputs/SameHeader/C.h:3 {{redefinition of 'c'}}
|
||||
// expected-note-re@Inputs/SameHeader/B.h:3 {{'{{.*}}/C.h' included multiple times, additional include site in header from module 'X.B'}}
|
||||
// expected-note-re@Inputs/SameHeader/B.h:3 {{'{{.*}}C.h' included multiple times, additional include site in header from module 'X.B'}}
|
||||
// expected-note@Inputs/SameHeader/module.modulemap:6 {{X.B defined here}}
|
||||
// expected-note-re@redefinition-same-header.m:20 {{'{{.*}}/C.h' included multiple times, additional include site here}}
|
||||
// expected-note-re@redefinition-same-header.m:20 {{'{{.*}}C.h' included multiple times, additional include site here}}
|
||||
|
||||
// expected-error@Inputs/SameHeader/C.h:5 {{redefinition of 'aaa'}}
|
||||
// expected-note-re@Inputs/SameHeader/B.h:3 {{'{{.*}}/C.h' included multiple times, additional include site in header from module 'X.B'}}
|
||||
// expected-note-re@Inputs/SameHeader/B.h:3 {{'{{.*}}C.h' included multiple times, additional include site in header from module 'X.B'}}
|
||||
// expected-note@Inputs/SameHeader/module.modulemap:6 {{X.B defined here}}
|
||||
// expected-note-re@redefinition-same-header.m:20 {{'{{.*}}/C.h' included multiple times, additional include site here}}
|
||||
// expected-note-re@redefinition-same-header.m:20 {{'{{.*}}C.h' included multiple times, additional include site here}}
|
||||
|
||||
// expected-error@Inputs/SameHeader/C.h:9 {{redefinition of 'fd_set'}}
|
||||
// expected-note-re@Inputs/SameHeader/B.h:3 {{'{{.*}}/C.h' included multiple times, additional include site in header from module 'X.B'}}
|
||||
// expected-note-re@Inputs/SameHeader/B.h:3 {{'{{.*}}C.h' included multiple times, additional include site in header from module 'X.B'}}
|
||||
// expected-note@Inputs/SameHeader/module.modulemap:6 {{X.B defined here}}
|
||||
// expected-note-re@redefinition-same-header.m:20 {{'{{.*}}/C.h' included multiple times, additional include site here}}
|
||||
// expected-note-re@redefinition-same-header.m:20 {{'{{.*}}C.h' included multiple times, additional include site here}}
|
||||
#include "A.h" // maps to a modular
|
||||
#include "C.h" // textual include
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
// expected-error@a.h:1 {{redefinition of 'yyy'}}
|
||||
// expected-note@a.h:1 {{unguarded header; consider using #ifdef guards or #pragma once}}
|
||||
// expected-note-re@redefinition-same-header.c:11 {{'{{.*}}/a.h' included multiple times, additional include site here}}
|
||||
// expected-note-re@redefinition-same-header.c:12 {{'{{.*}}/a.h' included multiple times, additional include site here}}
|
||||
// expected-note-re@redefinition-same-header.c:11 {{'{{.*}}a.h' included multiple times, additional include site here}}
|
||||
// expected-note-re@redefinition-same-header.c:12 {{'{{.*}}a.h' included multiple times, additional include site here}}
|
||||
|
||||
#include "a.h"
|
||||
#include "a.h"
|
||||
|
@ -18,7 +18,7 @@ int n;
|
||||
#if TEST >= 2
|
||||
// expected-error@-2 {{redefinition of '}}
|
||||
// expected-note@-3 {{unguarded header; consider using #ifdef guards or #pragma once}}
|
||||
// expected-note-re@modules-ts.cppm:1 {{'{{.*}}/modules-ts.cppm' included multiple times, additional include site here}}
|
||||
// expected-note-re@modules-ts.cppm:1 {{'{{.*}}modules-ts.cppm' included multiple times, additional include site here}}
|
||||
#endif
|
||||
|
||||
#if TEST == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user