summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/x86_seg_fs_gs.c
blob: b7a586c820245ac72da6610f6c54efcc0213b5ed (plain)
1
2
3
4
5
6
7
// RUN: %clang -target i386-unknown-unknown -x c -E -dM -o - %s | FileCheck -match-full-lines %s
// RUN: %clang -target x86_64-unknown-unknown -x c -E -dM -o - %s | FileCheck -match-full-lines %s

// CHECK: #define __SEG_FS 1
// CHECK: #define __SEG_GS 1
// CHECK: #define __seg_fs __attribute__((address_space(257)))
// CHECK: #define __seg_gs __attribute__((address_space(256)))
OpenPOWER on IntegriCloud