You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
306 B
35 lines
306 B
4 years ago
|
void foo(void)
|
||
|
{
|
||
|
int a = x ? y
|
||
|
: z,
|
||
|
b = x ? (y)
|
||
|
: (z),
|
||
|
c = x ? *y
|
||
|
: *z,
|
||
|
d = x ? &y
|
||
|
: &z;
|
||
|
|
||
|
|
||
|
if (x ? y
|
||
|
: z)
|
||
|
{
|
||
|
baz;
|
||
|
}
|
||
|
if (x ? (y)
|
||
|
: (z))
|
||
|
{
|
||
|
baz;
|
||
|
}
|
||
|
if (x ? *y
|
||
|
: *z)
|
||
|
{
|
||
|
baz;
|
||
|
}
|
||
|
if (x ? &y
|
||
|
: &z)
|
||
|
{
|
||
|
baz;
|
||
|
}
|
||
|
}
|
||
|
|