Sha256: acfab98bc9cb05a95c755a7b620e1bd800783d9565c7d417b611cc4d9a02b0d9

Contents?: true

Size: 494 Bytes

Versions: 5

Compression:

Stored size: 494 Bytes

Contents

/*
 * Copyright (c) 2013 Google Inc. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include <stdio.h>

/*
 * This will fail to compile if TEST_DEFINE was propagated from sharedlib to
 * program.
 */
#ifdef TEST_DEFINE
#error TEST_DEFINE is already defined!
#endif

#define TEST_DEFINE 2

extern int staticLibFunc();

int main() {
  printf("%d\n", staticLibFunc());
  printf("%d\n", TEST_DEFINE);
  return 0;
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/dependencies/sharedlib-linksettings/program.c
mt-libuv-4.1.03 ext/gyp/test/dependencies/sharedlib-linksettings/program.c
mt-libuv-4.1.02 ext/gyp/test/dependencies/sharedlib-linksettings/program.c
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/program.c
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/program.c