mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 16:11:29 +00:00
Fix the nullPointerConstant() test to get bots back to green.
llvm-svn: 369686
This commit is contained in:
parent
e5d6f07e9d
commit
518b2266f5
@ -2392,7 +2392,7 @@ TEST(NullPointerConstants, Basic) {
|
||||
EXPECT_TRUE(matches("void *v3 = __null;", expr(nullPointerConstant())));
|
||||
EXPECT_TRUE(matches("char *cp = (char *)0;", expr(nullPointerConstant())));
|
||||
EXPECT_TRUE(matches("int *ip = 0;", expr(nullPointerConstant())));
|
||||
EXPECT_TRUE(notMatches("int i = 0;", expr(nullPointerConstant())));
|
||||
EXPECT_TRUE(matches("int i = 0;", expr(nullPointerConstant())));
|
||||
}
|
||||
|
||||
TEST(HasExternalFormalLinkage, Basic) {
|
||||
|
Loading…
Reference in New Issue
Block a user