projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e255b6
)
That's causing an error.
author
Bill Wendling
<isanbard@gmail.com>
Mon, 12 Nov 2012 22:14:27 +0000
(22:14 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Mon, 12 Nov 2012 22:14:27 +0000
(22:14 +0000)
llvm-svn: 167763
clang/test/CodeGen/x86_32-inline-asm.c
patch
|
blob
|
history
diff --git
a/clang/test/CodeGen/x86_32-inline-asm.c
b/clang/test/CodeGen/x86_32-inline-asm.c
index
a9038ab
..
527ad85
100644
(file)
--- a/
clang/test/CodeGen/x86_32-inline-asm.c
+++ b/
clang/test/CodeGen/x86_32-inline-asm.c
@@
-7,9
+7,7
@@
typedef u_int32_t uint32_t;
typedef unsigned long long u_int64_t;
typedef u_int64_t uint64_t;
-struct S;
-
-int func(struct S *s) {
+int func() {
// Error out if size is > 32-bits.
uint32_t msr = 0x8b;
uint64_t val = 0;
@@
-23,7
+21,4
@@
int func(struct S *s) {
unsigned char data;
unsigned int port;
__asm__ volatile("outb %0, %w1" : : "a" (data), "Nd" (port)); // No error expected.
-
- // Don't error out for incomplete types.
- __asm(""::"a"(*s)); // No error expected.
}