aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/asan/pr64981.c
blob: 85e34794e4e517d96a3fac7e4917e83dcddfaf82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR sanitizer/64981 */
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-fsanitize=address -march=x86-64" } */

int
main ()
{
  __builtin_ia32_rdtsc ();
  return 0;
}

/* { dg-final { scan-assembler-not "__builtin_ia32_rdtsc" } } */