
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
32 lines
385 B
C
32 lines
385 B
C
#ifndef HEADER1_H
|
|
#define HEADER1_H
|
|
|
|
inline void func(int i) {
|
|
int x = 0;
|
|
if (i == 0) {
|
|
x = 1;
|
|
} else {
|
|
x = 2;
|
|
}
|
|
}
|
|
static void static_func(int j) {
|
|
int x = 0;
|
|
if (j == x) {
|
|
x = !j;
|
|
} else {
|
|
x = 42;
|
|
}
|
|
j = x * j;
|
|
}
|
|
static void static_func2(int j) {
|
|
int x = 0;
|
|
if (j == x) {
|
|
x = !j;
|
|
} else {
|
|
x = 42;
|
|
}
|
|
j = x * j;
|
|
}
|
|
|
|
#endif // HEADER1_H
|