aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/nios2/nios2-nor.c
blob: 3a1911e326d21a0ffa0c8525dfb7158ee88966eb (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler "nor" } } */

int foo (int x, int y)
{
  return ~(x | y);
}