diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-07-23 19:37:40 +0000 |
---|---|---|
committer | H.J. Lu <hongjiu.lu@intel.com> | 2010-07-23 19:37:40 +0000 |
commit | e59b0ef2e7a1fb44791d473ee416aeb01fcb169c (patch) | |
tree | 437dca120093cc7b1f6debf6f6b31779526c7192 /gcc/testsuite/g++.dg/warn/noeffect2.C | |
parent | f25b023a0d9de6a6c1e1965d93ba6028cb03fc7d (diff) | |
parent | 92ac755201aad4366eaff2b75b3239637bee3590 (diff) |
Merged with trunk at revision 162480.ifunc
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ifunc@162483 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/warn/noeffect2.C')
-rw-r--r-- | gcc/testsuite/g++.dg/warn/noeffect2.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/warn/noeffect2.C b/gcc/testsuite/g++.dg/warn/noeffect2.C index 01323659597..451e0382a86 100644 --- a/gcc/testsuite/g++.dg/warn/noeffect2.C +++ b/gcc/testsuite/g++.dg/warn/noeffect2.C @@ -10,11 +10,11 @@ extern "C" void FormatDisk(); template <class T> struct C { - C(){ FormatDisk(), 0; } // { dg-warning "right-hand operand of comma" "" } + C(){ FormatDisk(), 0; } // { dg-warning "right operand of comma" "" } }; template struct C<int>; // { dg-message "instantiated" } template <class T> - void f() { FormatDisk(), 0; } // { dg-warning "right-hand operand of comma" "" } + void f() { FormatDisk(), 0; } // { dg-warning "right operand of comma" "" } template void f<int> (); // { dg-message "instantiated" } -void g() { FormatDisk(), 0; } // { dg-warning "right-hand operand of comma" "" } +void g() { FormatDisk(), 0; } // { dg-warning "right operand of comma" "" } |