projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pointer arithmetic should be done with the index the same size as the pointer.
[oota-llvm.git]
/
test
/
CFrontend
/
2007-06-18-SextAttrAggregate.c
diff --git
a/test/CFrontend/2007-06-18-SextAttrAggregate.c
b/test/CFrontend/2007-06-18-SextAttrAggregate.c
index e5e7fc45ce551f48d7c107d9d632895db05a00c3..2fcd72607a2a6c96e7d376949271f767fcace11d 100644
(file)
--- a/
test/CFrontend/2007-06-18-SextAttrAggregate.c
+++ b/
test/CFrontend/2007-06-18-SextAttrAggregate.c
@@
-1,4
+1,4
@@
-// RUN:
llvm-gcc %s -o - -S -emit-llvm -O3 | grep {i8 s
ext}
+// RUN:
%llvmgcc %s -o - -S -emit-llvm -O3 | grep {i8 sign
ext}
// PR1513
struct s{
@@
-6,6
+6,6
@@
long a;
long b;
};
-void f(struct s a, char *b, char C) {
+void f(struct s a, char *b,
signed
char C) {
}