diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-15 07:44:25 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-15 07:44:25 +0000 |
| commit | 98781354c33bdc945ab6ea8c410d36c664ce1f5e (patch) | |
| tree | badd8f913c2a7db8d5fbe7d83c862e35e403fd41 /test/CodeGen | |
| parent | 4c8b24812ddcd1dedaca343a6d4e76f91f398981 (diff) | |
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/builtins-powi.c | 1 | ||||
| -rw-r--r-- | test/CodeGen/builtins.c | 3 | ||||
| -rw-r--r-- | test/CodeGen/const-init.c | 2 | ||||
| -rw-r--r-- | test/CodeGen/mandel.c | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/test/CodeGen/builtins-powi.c b/test/CodeGen/builtins-powi.c index 5b413a889502..57fa81a3ad12 100644 --- a/test/CodeGen/builtins-powi.c +++ b/test/CodeGen/builtins-powi.c @@ -3,7 +3,6 @@ #include <stdio.h> #include <stdlib.h> -#include <math.h> void test(long double a, int b) { printf("%Lf**%d: %08x %08x %016Lx\n", diff --git a/test/CodeGen/builtins.c b/test/CodeGen/builtins.c index 165db9c26753..ac59b274958a 100644 --- a/test/CodeGen/builtins.c +++ b/test/CodeGen/builtins.c @@ -2,7 +2,6 @@ // RUN: not grep __builtin %t #include <stdio.h> -#include <math.h> void p(char *str, int x) { printf("%s: %d\n", str, x); @@ -118,7 +117,7 @@ int main() { -void strcat() {} +char *strcat(char *a, char const *b) {} void foo() { __builtin_strcat(0, 0); diff --git a/test/CodeGen/const-init.c b/test/CodeGen/const-init.c index 29e9c5561527..e25da9c6eba0 100644 --- a/test/CodeGen/const-init.c +++ b/test/CodeGen/const-init.c @@ -1,6 +1,6 @@ // RUN: clang-cc -triple i386-pc-linux-gnu -verify -emit-llvm -o - %s | FileCheck %s -#include <stdint.h> +typedef __INTPTR_TYPE__ intptr_t; // Brace-enclosed string array initializers char a[] = { "asdf" }; diff --git a/test/CodeGen/mandel.c b/test/CodeGen/mandel.c index 6f46ee407f5c..27993f0559e9 100644 --- a/test/CodeGen/mandel.c +++ b/test/CodeGen/mandel.c @@ -25,8 +25,6 @@ int main() { return 0; } #define I 1.0iF -#include <math.h> - #include <stdio.h> volatile double __complex__ accum; |
