1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple x86_64 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
4 // Verify that __attribute__((preserve_static_offset))
5 // has no effect for non-BPF target.
7 #define __ctx __attribute__((preserve_static_offset))
13 // CHECK-NOT: @llvm_preserve_static_offset
15 int bar(struct foo
*p
) {