aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr60909-1.c
blob: 5a1ac3c0f6c244d896ed691701d51ff7463fd6aa (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-mrdrnd" } */

extern void bar (int);

void
foo (unsigned *u)
{
  int i = __builtin_ia32_rdrand32_step (u);
  bar (i);
}