mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-06 01:19:28 +00:00
[clang][Interp] Try to fix a test on Windows
This seems to fail on Windows: Interp\literals.cpp Line 946: cast to smaller integer type 'long' from 'char *'
This commit is contained in:
parent
194e2ba125
commit
2a6cfc4baa
@ -943,6 +943,6 @@ namespace PointerCasts {
|
||||
// expected-error {{must be initialized by a constant expression}} \
|
||||
// expected-note {{cast that performs the conversions of a reinterpret_cast}}
|
||||
|
||||
int array[(long)(char*)0]; // ref-warning {{variable length array folded to constant array}} \
|
||||
// expected-warning {{variable length array folded to constant array}}
|
||||
int array[(intptr_t)(char*)0]; // ref-warning {{variable length array folded to constant array}} \
|
||||
// expected-warning {{variable length array folded to constant array}}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user