Chromium Code Reviews| Index: tools/clang/plugins/tests/class_with_incomplete_type.txt |
| diff --git a/tools/clang/plugins/tests/class_with_incomplete_type.txt b/tools/clang/plugins/tests/class_with_incomplete_type.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..553c5051953b4ac413945a5c82bc599db568362c |
| --- /dev/null |
| +++ b/tools/clang/plugins/tests/class_with_incomplete_type.txt |
| @@ -0,0 +1,8 @@ |
| +In file included from class_with_incomplete_type.cpp:5: |
| +./class_with_incomplete_type.h:12:5: error: field has incomplete type 'B' |
| + B incomplete; |
| + ^ |
| +./class_with_incomplete_type.h:8:8: note: forward declaration of 'B' |
| +struct B; |
| + ^ |
| +1 error generated. |