diff options
Diffstat (limited to 'clang/test/SemaCXX/warn-unused-attribute.cpp')
| -rw-r--r-- | clang/test/SemaCXX/warn-unused-attribute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/warn-unused-attribute.cpp b/clang/test/SemaCXX/warn-unused-attribute.cpp index f52de3b931b..dffda31f464 100644 --- a/clang/test/SemaCXX/warn-unused-attribute.cpp +++ b/clang/test/SemaCXX/warn-unused-attribute.cpp @@ -15,6 +15,6 @@ int main(void) { TestNormal normal; used.use(); - int i __attribute__((warn_unused)) = 12; // expected-warning {{'warn_unused' attribute only applies to struct, union or class}} + int i __attribute__((warn_unused)) = 12; // expected-warning {{'warn_unused' attribute only applies to structs, unions, and classes}} return i; } |

