mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-08 02:58:24 +00:00
12 lines
233 B
C
12 lines
233 B
C
/* This will only be available for GCC with glibc for the foreseeable future */
|
|
|
|
__attribute__((target_clones("default,avx2"))) int f(int x)
|
|
{
|
|
return x + 3;
|
|
}
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
int y = f(39);
|
|
return 0;
|
|
} |