Skip to content

Instantly share code, notes, and snippets.

View 0x6675636b796f75676974687562's full-sized avatar

Andrey S. 0x6675636b796f75676974687562

  • ex-@JetBrains, now Umbrella Corp.
  • Shenzhen, China
  • 10:26 (UTC +08:00)
View GitHub Profile
package com.example
import org.junit.Assume.assumeTrue
import org.junit.AssumptionViolatedException
import org.junit.rules.TestRule
import org.junit.runner.Description
import org.junit.runners.model.Statement
import java.io.File.pathSeparatorChar
import java.nio.file.Path
import kotlin.io.path.Path

Standard include directories, as presented by GCC-copatible compilers

Empty output

The following outputs should result in the empty list of includes.

GCC:

$ gcc -E -v -nostdinc -x c - </dev/null >/dev/null
/*
* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
"
" .vimrc
"
" vim:ft=vim
"
set nocompatible
if &term == "xterm"
let &term = "xterm-256color"
endif