xref: /llvm-project/clang/test/Preprocessor/x86_seg_fs_gs.c (revision fff5dc0b173fc35ce9a75a737a980875be125566)
1 // RUN: %clang -target i386-unknown-unknown -x c -E -dM -o - %s | FileCheck -match-full-lines %s
2 // RUN: %clang -target x86_64-unknown-unknown -x c -E -dM -o - %s | FileCheck -match-full-lines %s
3 
4 // CHECK: #define __SEG_FS 1
5 // CHECK: #define __SEG_GS 1
6 // CHECK: #define __seg_fs __attribute__((address_space(257)))
7 // CHECK: #define __seg_gs __attribute__((address_space(256)))
8