forked from OSchip/llvm-project
Add a Microsoft C test following r131201.
llvm-svn: 131202
This commit is contained in:
parent
b796b632a8
commit
6f7289d9c5
|
@ -79,3 +79,11 @@ struct X0 {
|
|||
enum : long long { // expected-warning{{enumeration types with a fixed underlying type are a Microsoft extension}}
|
||||
SomeValue = 0x100000000
|
||||
};
|
||||
|
||||
|
||||
void pointer_to_integral_type_conv(char* ptr) {
|
||||
char ch = (char)ptr;
|
||||
short sh = (short)ptr;
|
||||
ch = (char)ptr;
|
||||
sh = (short)ptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue