* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / mv5.C
blobfd62eee015592c8a1b1bde8dff4b23a9160a747b
1 /* Test case to check if multiversioned functions are still generated if they are
2    marked comdat with inline keyword.  */
4 /* { dg-do run { target i?86-*-* x86_64-*-* } } */
5 /* { dg-require-ifunc "" }  */
6 /* { dg-options "-O2" } */
9 /* Default version.  */
10 inline int __attribute__ ((target ("default")))
11 foo ()
13   return 0;
16 inline int __attribute__ ((target ("popcnt")))
17 foo ()
19   return 0;
22 int main ()
24   return foo ();