mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 17:21:10 +00:00
[clang][NFC][tests] dr208.c optional signext handling
Fixes llvm/llvm-project#56325.
This commit is contained in:
parent
8f45c5862f
commit
6bd53df9b6
@ -15,10 +15,10 @@ void dr208(void) {
|
||||
[0] = dr208_init(2) /* expected-warning {{initializer overrides prior initialization of this subobject}} */
|
||||
};
|
||||
|
||||
/* CHECK-NOT: call i32 @dr208_init(i32 noundef 0)
|
||||
CHECK-DAG: call i32 @dr208_init(i32 noundef 1)
|
||||
CHECK-DAG: call i32 @dr208_init(i32 noundef 2)
|
||||
CHECK-NOT: call i32 @dr208_init(i32 noundef 0)
|
||||
/* CHECK-NOT: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}0)
|
||||
CHECK-DAG: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}1)
|
||||
CHECK-DAG: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}2)
|
||||
CHECK-NOT: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}0)
|
||||
*/
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user