diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.cpp b/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.cpp deleted file mode 100644 index 2242943e5..000000000 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (c) 2013 - present Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - */ - -int foo(int* p) { - if ((*p = 0)) { - return 32; - } - return 52; -} diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/union.cpp b/infer/tests/codetoanalyze/c/frontend/nestedoperators/union.cpp deleted file mode 100644 index 496d8383f..000000000 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/union.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2013 - present Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - */ - -#include - -struct { - int a; - int b; -} * x; - -union { - int e; - int f; - - struct { - int w; - int u; - } g; - - int h; -} y; - -int main() { - int l; - - x->a = 1; - y.f = 7; - y.g.u = y.f; - - y.g.w = x->b; - return 0; -}