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
/
2006-01-23-FileScopeAsm.c
diff --git
a/test/CFrontend/2006-01-23-FileScopeAsm.c
b/test/CFrontend/2006-01-23-FileScopeAsm.c
index 14f85ac0b6ab9635e9ee0b4c931e0ebc5379e21c..fb55a41e87c5cb8cbbfc96e39643a4091e942292 100644
(file)
--- a/
test/CFrontend/2006-01-23-FileScopeAsm.c
+++ b/
test/CFrontend/2006-01-23-FileScopeAsm.c
@@
-1,5
+1,5
@@
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
-// RUN: llvm-dis | grep
foo[12345] | wc -l | grep
5
+// RUN: llvm-dis | grep
{foo\[12345\]} | count
5
__asm__ ("foo1");
__asm__ ("foo2");