c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git] / gcc / testsuite / gcc.dg / pr87009.c
blob6f0341d17cc3ceac055df7a1e112800bf6486d43
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-original" } */
3 /* { dg-final { scan-tree-dump-times "return s \\^ x;|return x \\^ s;" 4 "original" } } */
5 int f1 (int x, int s)
7 return ~(~(x|s)|x)|~(~(x|s)|s);
10 int f2 (int x, int s)
12 return ~(~(~x&s)&~(x&~s));
15 int f3 (int x, int s)
17 return ~((x|~s)&(~x|s));
20 int f4 (int x, int s)
22 return (x|~s)^(~x|s);