blob: c0b9db789cac5b94a1ba63b4a0ad91c05cc6a5d4 [file] [log] [blame] [edit]
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include <stdbool.h>
#include <stdint.h>
bool coolGlobal;
int32_t myInt;
int32_t *aGlobalPointer0;
int32_t *const aGlobalPointer1 = nullptr;
const int32_t *aGlobalPointer2;
const int32_t *const aGlobalPointer3 = nullptr;
long double longDouble;
long double *pointerToLongDouble;
int globalArray0[3];
// This should be ignored
int GlobalIgnore;
struct EmptyStruct {};
struct EmptyStruct globalStruct;
typedef struct EmptyStruct EmptyStruct_Alias;
EmptyStruct_Alias globalStruct_from_alias;