Skip to content

Commit

Permalink
[bot] Generate current state of CWhy prompts (#51)
Browse files Browse the repository at this point in the history
* [bot][macos] Generate current state of CWhy prompts

* [bot][ubuntu] Generate current state of CWhy prompts

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
github-actions[bot] and github-actions authored Jan 11, 2024
1 parent 2a159a8 commit 2318f09
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
Empty file.
26 changes: 26 additions & 0 deletions tests/.regression/macos/clang++/include-header-typo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
===================== Prompt =====================
This is my code:

File `/Users/runner/work/cwhy/cwhy/tests/c++/include-header-typo.cpp`:
```
1 #include "blank-header.hp"
2
3 int main() {
4 return 0;
```


This is my error:
```
/Users/runner/work/cwhy/cwhy/tests/c++/include-header-typo.cpp:1:10: fatal error: 'blank-header.hp' file not found
#include "blank-header.hp"

[...]

^~~~~~~~~~~~~~~~~
1 error generated.
```


What's the problem? If you can, suggest code to fix the issue.
==================================================
Empty file.
26 changes: 26 additions & 0 deletions tests/.regression/ubuntu/clang++/include-header-typo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
===================== Prompt =====================
This is my code:

File `/home/runner/work/cwhy/cwhy/tests/c++/include-header-typo.cpp`:
```
1 #include "blank-header.hp"
2
3 int main() {
4 return 0;
```


This is my error:
```
/home/runner/work/cwhy/cwhy/tests/c++/include-header-typo.cpp:1:10: fatal error: 'blank-header.hp' file not found
1 | #include "blank-header.hp"

[...]

| ^~~~~~~~~~~~~~~~~
1 error generated.
```


What's the problem? If you can, suggest code to fix the issue.
==================================================
Empty file.
26 changes: 26 additions & 0 deletions tests/.regression/ubuntu/g++/include-header-typo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
===================== Prompt =====================
This is my code:

File `/home/runner/work/cwhy/cwhy/tests/c++/include-header-typo.cpp`:
```
1 #include "blank-header.hp"
2
3 int main() {
4 return 0;
```


This is my error:
```
/home/runner/work/cwhy/cwhy/tests/c++/include-header-typo.cpp:1:10: fatal error: blank-header.hp: No such file or directory
1 | #include "blank-header.hp"

[...]

| ^~~~~~~~~~~~~~~~~
compilation terminated.
```


What's the problem? If you can, suggest code to fix the issue.
==================================================

0 comments on commit 2318f09

Please sign in to comment.