view gcc/testsuite/g++.target/i386/pr85329-2.C @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-require-ifunc "" } */

class b
{
public:
  __attribute__ ((target ("aes"))) b () {}
  __attribute__ ((target ("default"))) b () {}
};
class c
{
  b d;
};
void
fn1 ()
{
  c a;
}
__attribute__ ((target_clones ("sse", "default"))) void
e ()
{
}