https://bugs.llvm.org/show_bug.cgi?id=39266
Bug ID: 39266
Summary: typedef types not allowed in vector declaration
context
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
$ cat vector_typedef.c
typedef unsigned int ui;
int main(){
__vector unsigned int res;
vector unsigned int res2;
__vector ui bad;
return 0;
}
$ clang -c vector_typedef.c
vector_typedef.c:5:10: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
__vector ui bad;
~~~~~~~~ ^
vector_typedef.c:5:12: error: expected ';' at end of declaration
__vector ui bad;
^
;
1 warning and 1 error generated.
$ /opt/at11.0/bin/g++ -c vector_typedef.c
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs