CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
// RUN: c-index-test -test-print-linkage-source %s | FileCheck %s
|
|
|
|
enum Baz { Qux = 0 };
|
|
int x;
|
|
void foo();
|
|
static int w;
|
|
void bar(int y) {
|
|
static int z;
|
|
int k;
|
|
}
|
|
extern int n;
|
|
static int wibble(int);
|
|
|
|
void ena(int (*dio)(int tria));
|
|
|
|
static int test2;
|
|
void f16(void) {
|
|
extern int test2;
|
|
}
|
|
|
|
|
|
// CHECK: EnumDecl=Baz:3:6 (Definition)linkage=External
|
|
// CHECK: EnumConstantDecl=Qux:3:12 (Definition)linkage=NoLinkage
|
|
// CHECK: VarDecl=x:4:5linkage=External
|
|
// CHECK: FunctionDecl=foo:5:6linkage=External
|
|
// CHECK: VarDecl=w:6:12linkage=Internal
|
|
// CHECK: FunctionDecl=bar:7:6 (Definition)linkage=External
|
|
// CHECK: ParmDecl=y:7:14 (Definition)linkage=NoLinkage
|
|
// CHECK: VarDecl=z:8:14 (Definition)linkage=NoLinkage
|
|
// CHECK: VarDecl=k:9:7 (Definition)linkage=NoLinkage
|
|
// CHECK: VarDecl=n:11:12linkage=External
|
|
// CHECK: FunctionDecl=wibble:12:12linkage=Internal
|
|
// CHECK: ParmDecl=:12:22 (Definition)linkage=NoLinkage
|
|
// CHECK: FunctionDecl=ena:14:6linkage=External
|
|
// CHECK: ParmDecl=dio:14:16 (Definition)linkage=NoLinkage
|
|
// CHECK: ParmDecl=tria:14:25 (Definition)linkage=NoLinkage
|
|
// CHECK: VarDecl=test2{{.*}}linkage=Internal
|
|
// CHECK: VarDecl=test2{{.*}}linkage=Internal
|