Created
October 29, 2018 10:31
-
-
Save jdiez17/682ff90a57b0d3e50674176623d085ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test.c:25:1: internal compiler error: in output_constructor_regular_field, at varasm.c:5142 | |
} | |
^ | |
Please submit a full bug report, | |
with preprocessed source if appropriate. | |
See <https://bugs.archlinux.org/> for instructions. | |
shell returned 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
enum morse_symbol { | |
SHORT = 0, | |
LONG = 1 | |
}; | |
struct morse_entry { | |
uint8_t len; | |
enum morse_symbol seq[]; | |
}; | |
const struct morse_entry a = {.len = 2, .seq = {SHORT, LONG}}; | |
const struct morse_entry b = {.len = 4, .seq = {LONG, SHORT, SHORT, SHORT}}; | |
struct morse_entry g_morse_table[] = { | |
a, | |
b | |
}; | |
int main() { | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment