forked from OSchip/llvm-project
add testcase for pr2050 which is now fixed.
llvm-svn: 50610
This commit is contained in:
parent
c8cb4ca202
commit
cfcabaeb7f
|
@ -17,3 +17,16 @@ int test() {
|
|||
int a[10];
|
||||
int b[10] = a; // expected-error {{initialization with "{...}" expected}}
|
||||
}
|
||||
|
||||
|
||||
// PR2050
|
||||
struct cdiff_cmd {
|
||||
const char *name;
|
||||
unsigned short argc;
|
||||
int (*handler)();
|
||||
};
|
||||
int cdiff_cmd_open();
|
||||
struct cdiff_cmd commands[] = {
|
||||
{"OPEN", 1, &cdiff_cmd_open }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue