diff options
author | no-author <no-author@gcc.gnu.org> | 2003-06-03 16:53:07 +0000 |
---|---|---|
committer | no-author <no-author@gcc.gnu.org> | 2003-06-03 16:53:07 +0000 |
commit | 6a595b409c4a16bf07bddc89d6713105109548fd (patch) | |
tree | f61762dde1bdadf0d316d2d2a7fff23eab68fc73 /gcc/testsuite/g++.dg/ext/dllimport2.C | |
parent | 6b9957dfa3e1468c5c35aea4c39613d562a7a5c9 (diff) |
This commit was manufactured by cvs2svn to create branch
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@67385 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/ext/dllimport2.C')
-rw-r--r-- | gcc/testsuite/g++.dg/ext/dllimport2.C | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/ext/dllimport2.C b/gcc/testsuite/g++.dg/ext/dllimport2.C new file mode 100644 index 00000000000..9564be4f74c --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/dllimport2.C @@ -0,0 +1,15 @@ +// { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} } + +// PR 9738 Dllimport attribute is overriden by later definition + +void __attribute__((dllimport)) Bar(void); + + void Foo(void) + { + Bar(); + } + + void Bar(void) + { + } + |